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:
- 3:e1e1053e286f
- Parent:
- 2:a77053c4f5cc
- Child:
- 4:93ca338876e2
--- a/main.cpp Fri Jul 04 10:36:42 2014 +0000 +++ b/main.cpp Mon Jul 07 11:43:01 2014 +0000 @@ -33,8 +33,8 @@ use the same pins for USBRX/USBTX and display control. Printing will cause the display to not work. Read more about this on the display's notebook page. */ -//#define log(...) printf(__VA_ARGS__) -#define log(...) +#define log(...) printf(__VA_ARGS__) +//#define log(...) #define DM_PIN_SPI_MOSI D11 #define DM_PIN_SPI_MISO D12