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

Dependencies:   SPI_TFT_ILI9320 mbed

Revision:
2:e21bf3a79d1f
Parent:
1:76f92f6b3737
--- 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