diff --git a/examples/Arduino/TFTEtchASketch/TFTEtchASketch.ino b/examples/Arduino/TFTEtchASketch/TFTEtchASketch.ino index 41c0200..88125f8 100644 --- a/examples/Arduino/TFTEtchASketch/TFTEtchASketch.ino +++ b/examples/Arduino/TFTEtchASketch/TFTEtchASketch.ino @@ -51,8 +51,8 @@ void loop() { int yValue = analogRead(A1); // map the values and update the position - xPos = xPos + (map(xValue, 0, 1023, 2, -2)); - yPos = yPos + (map(yValue, 0, 1023, -2, 2)); + xPos = xPos + (map(xValue, 0, 1023, 2, -3)); + yPos = yPos + (map(yValue, 0, 1023, -2, 3)); // don't let the point go past the screen edges if (xPos > 159) {