KL25Z driving an ILI9320 LCD board with touch panel (HY28A-LCDB SPI)

Dependencies:   SPI_TFT_ILI9320 mbed

Files at this revision

API Documentation at this revision

Comitter:
frankvnk
Date:
Sun Mar 23 20:04:35 2014 +0000
Parent:
1:76f92f6b3737
Child:
3:cb2172c95bf1
Commit message:
variable positions in Touch.h

Changed in this revision

TouchADS7843/Touch.h Show annotated file Show diff for this revision Revisions of this file
--- a/TouchADS7843/Touch.h	Sun Mar 23 19:45:33 2014 +0000
+++ b/TouchADS7843/Touch.h	Sun Mar 23 20:04:35 2014 +0000
@@ -87,11 +87,6 @@
     */
     unsigned char getDisplayPoint(void);
 
-    SPI_TFT    *LCD;
-    SPI        _tp_spi;
-    DigitalOut _tp_cs;
-    DigitalIn  _tp_irq;
-
     /*
     * Read touchpanel screensample and matrix values.
     * 
@@ -120,6 +115,11 @@
     */
     void SetCalibration(Matrix * matrixPtr, Coordinate * screenPtr);
 
+    SPI_TFT    *LCD;
+    SPI        _tp_spi;
+    DigitalOut _tp_cs;
+    DigitalIn  _tp_irq;
+
 protected:
 
     #define    SPI_RD_DELAY    1