prenticedavid / MCUFRIEND_kbv

MCUFRIEND_kbv Library for Uno 2.4, 2.8, 3.5, 3.6, 3.95 inch mcufriend Shields
Other
363 stars 181 forks source link

2.2 Inch TFT LCD Touch Screen RM68130 #222

Open khvalera opened 1 year ago

khvalera commented 1 year ago

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;