prenticedavid/MCUFRIEND_kbv

2.2 Inch TFT LCD Touch Screen RM68130

khvalera opened this issue · 0 comments

I tested your library for the 2.2 Inch TFT LCD Touch Screen RM68130 display + WEMOS LOLIN32 Lite, it needed to fix the file MCUFRIEND_kbv.cpp #define SUPPORT_9225 to work. The calibration sketch TouchScreen_Calibr_native.ino did not want to detect the stylus press at the bottom of the screen and had to be corrected:
readResistiveTouch();
if (tp.z > 200) //.kbv
on the
readResistiveTouch();
if (tp.z > 20) //.kbv

and
state = tp.z > 20;