A simple serial test program for the re-written SDFileSystem library.
Dependencies: SDFileSystem mbed
Revision 1:e0c49c5ad6d1, committed 2014-07-30
- Comitter:
- neilt6
- Date:
- Wed Jul 30 15:41:10 2014 +0000
- Parent:
- 0:8f2b6eed2a9d
- Child:
- 2:e4b38da7d1fc
- Commit message:
- Updated to demonstrate card detect switch type selection
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 Jul 29 20:13:41 2014 +0000 +++ b/SDFileSystem.lib Wed Jul 30 15:41:10 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/neilt6/code/SDFileSystem/#2a6d8a096edc +http://mbed.org/users/neilt6/code/SDFileSystem/#25f4ba436b81
--- a/main.cpp Tue Jul 29 20:13:41 2014 +0000 +++ b/main.cpp Wed Jul 30 15:41:10 2014 +0000 @@ -2,7 +2,7 @@ #include "SDFileSystem.h" DigitalIn button(p21, PullUp); -SDFileSystem sd(p5, p6, p7, p20, p22, "sd", 6000000); +SDFileSystem sd(p5, p6, p7, p20, p22, "sd", SDFileSystem::SWITCH_NC, 6000000); int main() {