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:
- 11:2be49b81dc0b
- Parent:
- 10:ae649a596123
- Child:
- 12:bd8b17cd6a7b
diff -r ae649a596123 -r 2be49b81dc0b main.cpp --- a/main.cpp Thu Aug 14 22:28:28 2014 +0000 +++ b/main.cpp Fri Aug 15 17:55:35 2014 +0000 @@ -3,7 +3,7 @@ Timer timer; DigitalIn button(p21, PullUp); -SDFileSystem sd(p5, p6, p7, p20, "sd", p22, SDFileSystem::SWITCH_NO, 25000000); +SDFileSystem sd(p5, p6, p7, p20, "sd", p22, SDFileSystem::SWITCH_NEG_NO, 25000000); char buffer[4096]; void writeTest()