From 107b2dd4ed22aa34acb56ea28c1971a1d16ec59e Mon Sep 17 00:00:00 2001 From: Bodmer Date: Mon, 15 Mar 2021 13:20:25 +0000 Subject: [PATCH] Update Touch_calibrate.ino --- examples/Generic/Touch_calibrate/Touch_calibrate.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/Generic/Touch_calibrate/Touch_calibrate.ino b/examples/Generic/Touch_calibrate/Touch_calibrate.ino index 4f10110..45fa705 100644 --- a/examples/Generic/Touch_calibrate/Touch_calibrate.ino +++ b/examples/Generic/Touch_calibrate/Touch_calibrate.ino @@ -19,7 +19,8 @@ void setup() { // Initialise the TFT screen tft.init(); - // Set the rotation before we calibrate + // Set the rotation to the orientation you wish to use in your project before calibration + // (the touch coordinates returned then correspond to that rotation only) tft.setRotation(1); // Calibrate the touch screen and retrieve the scaling factors