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: DmTftLibrary mbed
Fork of dm_mainMod by
Diff: main.cpp
- Revision:
- 7:3cf89facdd75
- Parent:
- 6:5107f01c456b
- Child:
- 8:96fc3c1db479
--- a/main.cpp Fri May 12 21:50:18 2017 +0000
+++ b/main.cpp Fri May 12 21:59:30 2017 +0000
@@ -180,10 +180,9 @@
int main() {
log("init tft \r\n");
tft.init();
+ int nombre =0;
+
- tft.drawString(0,32,"www.");
- tft.drawString(12,48,"displaymodule");
- tft.drawString(88,64,".com");
tft.drawRectangle(20,85,40,105,GREEN);
tft.drawCircle(60,95,10,BLUE);
@@ -198,5 +197,7 @@
drawBmpFromFlash(0, 130);
while(1) {
+ tft.drawNumber(0,48,nombre++,5, true);
+ wait(1);
}
}
