STMPE610 touch sensor driver library
Dependents: TS_Eyes Tokei testUniGraphic_150217 AfficheurTFTAdafruit ... more
Diff: SPI_STMPE610.h
- Revision:
- 3:ead62a9c3d1a
- Parent:
- 2:ee910b63c077
- Child:
- 5:988661c63061
diff -r ee910b63c077 -r ead62a9c3d1a SPI_STMPE610.h
--- a/SPI_STMPE610.h Sat Nov 08 07:07:23 2014 +0000
+++ b/SPI_STMPE610.h Sat Dec 13 07:08:52 2014 +0000
@@ -99,6 +99,17 @@
*/
int getRAWPoint(uint16_t *x, uint16_t *y, uint16_t *z) ;
+ /**
+ * get value of x, y, z
+ * @param *x x value relative to TFT
+ * @param *y y value relative to TFT
+ * @param *z z RAW value if non-null pointer is passed
+ * @note default calibration was for my particular device
+ * @note for more accuracy measure your device and modify
+ * @note those values in SPI_STMPE610.c
+ */
+ int getPoint(uint16_t *x, uint16_t *y, uint16_t *z = 0) ;
+
private:
} ;