mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-04 21:24:44 +02:00
Whoops, another typo - who put S and W keys next to each other ;-)
This commit is contained in:
@@ -45,7 +45,7 @@ void loop(void) {
|
|||||||
// Pressed will be set true is there is a valid touch on the screen
|
// Pressed will be set true is there is a valid touch on the screen
|
||||||
boolean pressed = tft.getTouch(&x, &y);
|
boolean pressed = tft.getTouch(&x, &y);
|
||||||
|
|
||||||
// Draw a shite spot at the detected coordinates
|
// Draw a white spot at the detected coordinates
|
||||||
if (pressed) {
|
if (pressed) {
|
||||||
tft.fillCircle(x, y, 2, TFT_WHITE);
|
tft.fillCircle(x, y, 2, TFT_WHITE);
|
||||||
//Serial.print("x,y = ");
|
//Serial.print("x,y = ");
|
||||||
|
Reference in New Issue
Block a user