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: QSPIFileSystem.h
- Revision:
- 10:f2409dc07e49
- Parent:
- 2:1c6134c80dc5
- Child:
- 12:15597e45eea0
diff -r 3839113c5abc -r f2409dc07e49 QSPIFileSystem.h --- a/QSPIFileSystem.h Mon Dec 16 12:26:55 2013 +0000 +++ b/QSPIFileSystem.h Fri Jan 10 08:24:42 2014 +0000 @@ -14,16 +14,16 @@ * #include "mbed.h" * #include "QSPIFileSystem.h" * - * QSPIFileSystem qspi("qspi"); + * QSPIFileSystem qspifs("qspi"); * * int main() { - * if (!qspifs.isFormatted()) { + * if (!qspifs.isformatted()) { * qspifs.format(); * } * * FILE *fp = fopen("/qspi/myfile.txt", "w"); * if (fp != NULL) { - * fprintf(fp, "Hello World!\n"); + * fwrite("Hello World!", 12, 1, fp); * fclose(fp); * } * } @@ -145,5 +145,3 @@ }; #endif - -