Returning Hobbyist _ Using 'older' Libraries in Mbed Studio

When you want to share a code, please be so kind and use these ``` 3 symbols before and after your code like bellow or share a link.

```
// your code
```

OK, if the use case is only debug, then just delete the line with the Serial object and also cut out pc. from all printf calls, like below.

//pc.printf("%2i\n", size_a);
printf("%2i\n", size_a);

Debugging using printf() statements - Debugging and testing | Mbed OS 6 Documentation

About SD card you can look here

BR, Jan