Write 10 lines of Accelerometer data from FRDM-KL25Z to SD Card and read it back.
Dependencies: MMA8451Q SDFileSystem mbed
Fork of SDCardTest by
Diff: main.cpp
- Revision:
- 3:68ef62208d4d
- Parent:
- 1:2dec995d53f8
- Child:
- 4:823307a8e5dc
diff -r 849162a1207f -r 68ef62208d4d main.cpp --- a/main.cpp Mon Dec 14 22:32:28 2009 +0000 +++ b/main.cpp Thu Dec 31 15:11:08 2009 +0000 @@ -10,7 +10,7 @@ if(fp == NULL) { error("Could not open file for write\n"); } - fprintf(fp, "Hello SD Card World!"); + fprintf(fp, "Hello fun SD Card World!"); fclose(fp); printf("Goodbye World!\n");