Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: FT5206.h
- Revision:
- 2:5ebf8736e4b2
- Parent:
- 1:56a53f203daa
- Child:
- 3:51917db9e147
--- 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);