Library for SeeedStudioTFTv2 2.8 Zoll 240x360 pixel touch SD card
Dependencies: SPI_TFT_ILI9341
Dependents: Seeed_TFT_Touch_Shield Seeed_TFT_Touch_Shield Adafruit_TFT_Touch_Shield UIT2_SpectrumAnalyzer ... more
Fork of SeeedStudioTFTv2 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);
}

Seeed Studio 2.8'' TFT Touch Shield V2.0
Adafruit 2.8" TFT Touch Shield v2