Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SPI_TFT_ILI9341 TFT_fonts Touch_tft PowerControl mbed USBMIDI
Revision 11:258abdee25b1, committed 2014-02-13
- Comitter:
- MetropoliaMies
- Date:
- Thu Feb 13 06:27:37 2014 +0000
- Parent:
- 10:ff7cdaeb8b9a
- Child:
- 12:f78afb23f7e2
- Commit message:
- .;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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) {
