Reading Analog Ports and Saving in a micro SD CARD with the KL25z
Dependencies: SDFileSystem mbed
Fork of SDFileSystem_HelloWorld by
Diff: main.cpp
- Revision:
- 20:ec1c4f02d50e
- Parent:
- 19:ae979143c796
- Child:
- 26:50363a135213
diff -r ae979143c796 -r ec1c4f02d50e main.cpp --- a/main.cpp Tue Dec 08 16:14:07 2015 +0000 +++ b/main.cpp Fri Dec 11 16:34:13 2015 +0000 @@ -108,7 +108,7 @@ printf("Unknown\n"); //Display the card capacity - printf("\tSectors: %llu\n", sd.disk_sectors()); + printf("\tSectors: %u\n", sd.disk_sectors()); printf("\tCapacity: %.1fMB\n", sd.disk_sectors() / 2048.0); /*//Format the card