-->
Page 1 of 1

TFT SPI MIRROR

PostPosted: Thu Nov 03, 2016 3:43 am
by tcpipchip
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;
}

Re: TFT SPI MIRROR

PostPosted: Thu Nov 03, 2016 5:03 am
by tcpipchip
Credits to Electroguard