From f775b97d86ae595199af0f980c9569e7c52f0c7d Mon Sep 17 00:00:00 2001 From: driverblock Date: Mon, 24 Mar 2014 17:05:10 -0400 Subject: [PATCH] Change Point to TSPoint Someone changed the TouchScreen l;ibrary to define TSPoint instead of Point, but didn't update this example sketch --- examples/tftpaint_shield/tftpaint_shield.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tftpaint_shield/tftpaint_shield.ino b/examples/tftpaint_shield/tftpaint_shield.ino index e4e8e60..167f01e 100644 --- a/examples/tftpaint_shield/tftpaint_shield.ino +++ b/examples/tftpaint_shield/tftpaint_shield.ino @@ -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