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.
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