ImpulseAdventure / GUIslice

GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
https://www.impulseadventure.com/elec/guislice-gui.html
MIT License
1.12k stars 204 forks source link

Config file for ESP32 / ILI9488 / GT911 capacitive touchscreen using TFT_eSPI library #522

Open BMWK1 opened 7 months ago

BMWK1 commented 7 months ago

Feature Request or Enhancement

I would like to make this breakout board works with GUIslice, which is a capacitive 3.5" touchscreen based on ILI9488 (SPI) and GT911 (I2C bus)interface ICs. Using TFT_Espi is great, i miss the way to drive the gt911 touch part. I can't configure GUIslice with the existing config files, and cannot understand how to build a config file by myself.

Additional context

Add any other context or screenshots about the feature request here.

florinbaciuu commented 7 months ago

If you look at this PRI modified the files GUIslice_drv_tft_espi.h and GUIslice_drv_tft_espi.cpp to work with a touchscreen module similar to yours. GT911 is similar to CST816 or CST820. The touch library I use is compatible with your touch. Unfortunately, I don't have the device you have and I can't test the code, but please take a look at what I changed. maybe you can manage to write your own driver. the configuration is easy.