class virtual touch

Files at this revision

API Documentation at this revision

Comitter:
jlpadiolleau
Date:
Sat Dec 02 11:50:33 2017 +0000
Parent:
0:9a2aecfcdf51
Commit message:
Class for virtual touch

Changed in this revision

touches.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/touches.cpp	Thu Nov 09 19:50:06 2017 +0000
+++ b/touches.cpp	Sat Dec 02 11:50:33 2017 +0000
@@ -4,6 +4,7 @@
 uint8_t readTouchApp(void)
 {
     TS_DISCO_F746NG ts; // instanciation du Touch Screen
+    ts.Init(420, 272);
     TS_StateTypeDef TS_State; // Structure liée au Touch Screen
     uint16_t X,Y,X1,Y1,X2,Y2; // Coordonnées de la touche et des icônes
     uint8_t Row,Line,Touch=0; // ligne et colonnes de l'icône