KL25Z driving an ILI9320 LCD board with touch panel (HY28A-LCDB SPI)
Dependencies: SPI_TFT_ILI9320 mbed
Revision 2:e21bf3a79d1f, committed 2014-03-23
- 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