Shows how to use a display, the onboard SD Card and the onboard SPI Flash. Requires a display module with direct Arduino pinning
Dependencies: DmTftLibrary SDFileSystem mbed
Diff: main.cpp
- Revision:
- 4:93ca338876e2
- Parent:
- 3:e1e1053e286f
- Child:
- 6:0f69891b105e
diff -r e1e1053e286f -r 93ca338876e2 main.cpp --- a/main.cpp Mon Jul 07 11:43:01 2014 +0000 +++ b/main.cpp Wed Jul 09 09:38:56 2014 +0000 @@ -106,6 +106,7 @@ break; } } + fseek(fp, 0, SEEK_SET); log("Found %s, erasing SPI flash\n", fname); flash.chipErase();