A library with drivers for different peripherals on the LPC4088 QuickStart Board or related add-on boards.
Dependents: LPC4088test LPC4088test_ledonly LPC4088test_deleteall LPC4088_RAMtest ... more
Diff: MCIFileSystem.h
- Revision:
- 3:9d31a3c5013e
- Parent:
- 0:0fdadbc3d852
- Child:
- 12:15597e45eea0
diff -r 1c6134c80dc5 -r 9d31a3c5013e MCIFileSystem.h --- a/MCIFileSystem.h Fri Sep 27 14:07:07 2013 +0000 +++ b/MCIFileSystem.h Wed Oct 09 07:51:52 2013 +0000 @@ -18,10 +18,15 @@ * wait(0.5); * } * + * printf("Found SD/MMC card, writing to /mci/myfile.txt ...\n"); + * * FILE *fp = fopen("/mci/myfile.txt", "w"); * if (fp != NULL) { * fprintf(fp, "Hello World!\n"); * fclose(fp); + * printf("Wrote to /mci/myfile.txt\n"); + * } else { + * printf("Failed to open /mci/myfile.txt\n"); * } * } * @endcode