Arduino Mega URTouch GetY() is reverse for 3.2 TFT ILI9341

hi there

i buy a "3.2" TFT touch LCD with ILI9341 LCD driver for Arduino mega2560 , i already include URTouch and UTFT lib , but i find the URTouch example ex. URTouch_QuickPaint.ino

it's up and down is inverted , like this


i find the getY() isn't current location in 3.2 TFT LCD , anyone have similar situation ?

How can fix the URTouch libary beacuse i don't find anyone like me situation ??

Below is my 3.2 TFT LCD and Mega Shield V2.2


Hi there

i think i already solved this problem, first , you need using URTouch_Calibration.ino to get CAL_X, CAL_Y , CAL_S , the sample code
Path:\Documents\Arduino\libraries\URTouch\examples\Arduino\URTouch_Calibration


When you get new calibration data , you must edit URTouchCD.h file and change values
Path: \Documents\Arduino\libraries\URTouch\URTouchCD.h

it can touch current location , like this


Blessing everyone have great day :smile:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.