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