Report Bugs Here

Moderator: Mmiscool

User avatar
By tcpipchip
#57578 MMISCOOL, includes in the next version a MIRROR option to TFT TOUCH

tft.setup(16, 4, 3,MIRROR)

switch (tft->getRotation())
{
case 0:
xf = 240 - x;
yf = y;
break;
case 1:
xf = y;
yf = x;
break;
case 2:
xf = x;
yf = 320 - y;
break;
case 3:
xf = 320 - y;
yf = 240 - x;
break;
}