LIB for resistiv touchscreen connected to 4 mbed pins Use SPI_TFT lib
Fork of Touch_tft by
Diff: touch_tft.cpp
- Revision:
- 1:1745fdf054b5
- Parent:
- 0:d78b00f167cb
- Child:
- 2:ef7972c29c0e
--- a/touch_tft.cpp Thu Jul 14 21:02:43 2011 +0000 +++ b/touch_tft.cpp Thu Jul 14 21:27:19 2011 +0000 @@ -182,7 +182,7 @@ return (p); } -bool is_touched(point a){ +bool touch_tft::is_touched(point a){ if (a.x > threshold & a.y > threshold) return(true); else return(false); }