MIDI Interface in progress
Dependencies: SPI_TFT_ILI9341 TFT_fonts Touch_tft PowerControl mbed USBMIDI
Diff: main.cpp
- Revision:
- 11:258abdee25b1
- Parent:
- 10:ff7cdaeb8b9a
- Child:
- 12:f78afb23f7e2
--- a/main.cpp Mon Feb 10 11:07:18 2014 +0000 +++ b/main.cpp Thu Feb 13 06:27:37 2014 +0000 @@ -77,11 +77,21 @@ tft.locate(0,0); printf(" MIDIMAN! "); tft.line(0,83,239,83,White); + + tft.locate(180,270); + tft.foreground(Black); + tft.background(White); + printf("Octave"); + tft.locate(190,282); + printf("Up"); + tft.locate(100,270); + printf("Octave"); + tft.locate(102,282); + printf("Down"); - tft.locate(163,250); - printf("Octave up"); - tft.locate(83,250); - printf("Octave dwn"); + tft.background(Black); // set background to black + tft.foreground(White); // set chars to white + while (1) {