Modified version of the DmTftLibrary, optimized for the LPC4088 Experiment Base Board

Dependents:   lpc4088_ebb_dm_calc lpc4088_ebb_dm_bubbles

Fork of DmTftLibrary by Display Module

Revision:
10:d263094e666d
Parent:
8:b24f01d148c4
--- a/DmTouch.h	Mon Jul 07 13:30:33 2014 +0000
+++ b/DmTouch.h	Wed Jul 09 08:31:34 2014 +0000
@@ -49,6 +49,7 @@
   void waitForTouch();
   void waitForTouchRelease();
   uint32_t rescaleFactor() { return 1000000; };
+  Display getDisplay() { return _disp; };
 
 private:
   void spiWrite(uint8_t data);
@@ -62,6 +63,8 @@
   uint16_t calculateMiddleValue(uint16_t values[], uint8_t count);
   bool isSampleValid();
 
+  Display _disp;
+  uint16_t _width, _height;
   bool _hardwareSpi;
   uint8_t _samplesPerMeasurement;
   CalibrationMatrix _calibrationMatrix;