mirror of
https://github.com/adafruit/TFTLCD-Library.git
synced 2026-09-12 01:23:30 +00:00
Change Point to TSPoint
Someone changed the TouchScreen l;ibrary to define TSPoint instead of Point, but didn't update this example sketch
This commit is contained in:
@@ -103,7 +103,7 @@ void setup(void) {
|
||||
void loop()
|
||||
{
|
||||
digitalWrite(13, HIGH);
|
||||
Point p = ts.getPoint();
|
||||
TSPoint p = ts.getPoint();
|
||||
digitalWrite(13, LOW);
|
||||
|
||||
// if sharing pins, you'll need to fix the directions of the touchscreen pins
|
||||
|
||||
Reference in New Issue
Block a user