luc-github / ESP3D-TFT

ESP3D Firmware for ESP32 based TFT
GNU General Public License v3.0
38 stars 9 forks source link

Add support for GT911 INT pin hardware mod (and simplify CMakeLists.txt) #30

Closed serisman closed 1 year ago

serisman commented 1 year ago

Also pulled in some sdkconfig and other minor tweaks.

The GT911 INT pin hardware mod allows relying on a falling edge pin change interrupt instead of polling for knowing when there is touch data to process. This dramatically lowers CPU utilization from about 80% to around 10% (or lower) on static screens.

The mod requires cutting a trace, removing a resistor, and installing a bodge wire. I'll submit a PR for the wiki describing the changes needed.

luc-github commented 1 year ago

Merged thank you @liqijian101 you may be interested to this PR for your board also