This is a very basic example using LVGL and an ILI9488 SPI display.
For the ESP32 pins are as follows:
pin | usage |
---|---|
SPI MISO | 2 |
SPI MOSI | 15 |
SPI CLK | 14 |
TFT CS | 16 |
TFT Reset | (not configured) |
TFT DC | 17 |
TFT Backlight | 18 |
On the ESP32 only the TFT pins can be reconfiguring by using idf.py menuconfig
.
For the ESP32-S3 pins are as follows:
pin | usage |
---|---|
SPI MISO | 13 |
SPI MOSI | 10 |
SPI CLK | 11 |
TFT CS | 3 |
TFT Reset | 46 |
TFT DC | 9 |
TFT Backlight | 12 |
On the ESP32-S3 all pins can be reconfigured by using idf.py menuconfig
.
To create a project from this example, run:
idf.py create-project-from-example "atanisoft/esp_lcd_ili9488=1.0.6:lvgl"