Driver Library with inverted screen and increased SPI speed (16MHz). You need to use this library with the sx1280
Dependents: MSNV2-Terminal_V1-6 SX1280DevKit SX126xDevKit SX126xDevKit ... more
Fork of DmTftLibrary by
Diff: DmTouch.h
- Revision:
- 10:d263094e666d
- Parent:
- 8:b24f01d148c4
- Child:
- 11:264e19992620
diff -r bac5439e3c1c -r d263094e666d DmTouch.h --- 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;