Patrice HAESAERT / Mbed 2 deprecated TACTILE2

Dependencies:   Tactile TFT_fonts mbed

Fork of Seeed_TFT_Touch_Shield2 by Patrice HAESAERT

Files at this revision

API Documentation at this revision

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
diff -r c9c4e478edc9 -r 3627a6d60ea7 main.cpp
--- 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);