STMPE610 touch sensor driver library

Dependents:   TS_Eyes Tokei testUniGraphic_150217 AfficheurTFTAdafruit ... more

Revision:
5:988661c63061
Parent:
3:ead62a9c3d1a
Child:
8:e4b4cf8cf7d6
diff -r 0aa8f72d3cdd -r 988661c63061 SPI_STMPE610.h
--- a/SPI_STMPE610.h	Sat Dec 13 08:11:29 2014 +0000
+++ b/SPI_STMPE610.h	Sat Jan 10 15:13:33 2015 +0000
@@ -110,7 +110,13 @@
    */
   int getPoint(uint16_t *x, uint16_t *y, uint16_t *z = 0) ;
   
+  void calibrate(int x_at_10, int y_at_10, int x_at_230, int y_at_310) ;
+  
   private:
+  float hramp ;
+  float hoffset ;
+  float vramp ;
+  float voffset ;
 } ;
 
 #endif /* SPI_STMPE610_H */
\ No newline at end of file