A library with drivers for different peripherals on the LPC4088 QuickStart Board or related add-on boards.
Dependencies: FATFileSystem
Fork of EALib by
Revision 10:f2409dc07e49, committed 2014-01-10
- Comitter:
- embeddedartists
- Date:
- Fri Jan 10 08:24:42 2014 +0000
- Parent:
- 9:3839113c5abc
- Child:
- 11:2d4d65173195
- Commit message:
- Fixed example in QSPIFileSystem documentation
Changed in this revision
QSPIFileSystem.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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 - -