limpens / esp32-8048S043

Demo for the ESP32-8048S043 Sunton kit with esp-idf and lvgl
13 stars 4 forks source link
esp32-idf lvgl

ESP32-8048S043C

Sunton ESP32-S3 800x480 Capacitive touch display

Example using esp-idf 5.1 and the esp_lcd_touch_gt911 and lvgl components.

In gt911_touch_init, a callback is registered to map the measured touch coordinates to display coordinates, see header file for information.

When calling LCDInit(), the display, touch sensor and lvgl buffers are initialized.

The code will print a increasing number in the right-bottom corner and run the demo once. Tapping the screen will change the text color of this number.

idf.py set-target esp32s3 idf.py build flash monitor