LA: Adding some "Ex" features to DmTftBase
Diff: DmTouch.h
- Revision:
- 10:d263094e666d
- Parent:
- 8:b24f01d148c4
- Child:
- 11:264e19992620
--- 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;