FT5206 capacitive Touch Panel driver for 7 inch BuyDisplay LCD, with 5-point touch.
Diff: FT5206.h
- Revision:
- 2:5ebf8736e4b2
- Parent:
- 1:56a53f203daa
--- a/FT5206.h Thu Jun 18 21:24:57 2015 +0000 +++ b/FT5206.h Fri Jun 19 08:39:50 2015 +0000 @@ -12,7 +12,6 @@ * FT5206.init(); * while(1) { * if(FT5206.getPanelTouched()) { - * uint8_t numberOfTouchPoints = FT5206.getTouchPositions(); * for (int i = 0; i < FT5206.numberOfTouchPoints; i++) { * printf("Coord %d: %d, %d \r\n", i+1, FT5206.touchCoordinatesX[i], FT5206.touchCoordinatesY[i]); * } @@ -124,10 +123,8 @@ public: FT5206(PinName sda, PinName scl, PinName interrupt); - bool init(); - + void init(void); uint8_t getTouchPositions(void); - void init(void); void intPanelTouched(void); bool getPanelTouched(void);