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: Tactile TFT_fonts mbed
Fork of Seeed_TFT_Touch_Shield2 by
Revision 8:3627a6d60ea7, committed 2017-10-07
- Comitter:
- pathae
- Date:
- Sat Oct 07 16:04:55 2017 +0000
- Parent:
- 7:c9c4e478edc9
- Commit message:
- Seed_TFT_Tactile_2TSSNEC_2
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Oct 07 15:38:54 2017 +0000
+++ b/main.cpp Sat Oct 07 16:04:55 2017 +0000
@@ -35,9 +35,9 @@
TFT.fillcircle(30,280,25,Red);
wait(1.0);
while (TFT.getTouch(p) != 1);
- TFT.locate(0,50);
+ TFT.locate(0,20);
TFT.printf("x1: %6i",p.x);
- TFT.locate(0,80);
+ TFT.locate(0,50);
TFT.printf("y1: %6i",p.y);
TFT.locate(0,110);
Xperso =((p.x/1000)-15);
