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:
- 2:e4b38da7d1fc
- Parent:
- 1:e0c49c5ad6d1
- Child:
- 7:17ca3091939f
diff -r e0c49c5ad6d1 -r e4b38da7d1fc main.cpp --- a/main.cpp Wed Jul 30 15:41:10 2014 +0000 +++ b/main.cpp Wed Jul 30 17:45:34 2014 +0000 @@ -2,7 +2,7 @@ #include "SDFileSystem.h" DigitalIn button(p21, PullUp); -SDFileSystem sd(p5, p6, p7, p20, p22, "sd", SDFileSystem::SWITCH_NC, 6000000); +SDFileSystem sd(p5, p6, p7, p20, "sd", p22, SDFileSystem::SWITCH_NC, 6000000); int main() {