Whoops, another typo - who put S and W keys next to each other ;-)
This commit is contained in:
parent
5d497f751b
commit
fbdc65a3c7
|
|
@ -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 = ");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue