A simple serial test program for the re-written SDFileSystem library.
Dependencies: SDFileSystem mbed
Revision 20:ec1c4f02d50e, committed 2015-12-11
- Comitter:
- neilt6
- Date:
- Fri Dec 11 16:34:13 2015 +0000
- Parent:
- 19:ae979143c796
- Child:
- 21:ef74a6edcabe
- Commit message:
- Updated SDFileSystem
Changed in this revision
SDFileSystem.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SDFileSystem.lib Tue Dec 08 16:14:07 2015 +0000 +++ b/SDFileSystem.lib Fri Dec 11 16:34:13 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/neilt6/code/SDFileSystem/#2c1e8d442f68 +http://mbed.org/users/neilt6/code/SDFileSystem/#d10a519c0910
--- 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