https://github.com/espressif/esp-idf/tr ... _lcd_touch
with a ESP32-s3 and the display NHD-2.4-240320AF-CSXP but I only see the backlight on the screen. The connection is:

Code: Untitled.c Select all
#define EXAMPLE_LCD_PIXEL_CLOCK_HZ (15 * 1000 * 1000)
#define EXAMPLE_LCD_BK_LIGHT_ON_LEVEL 1
#define EXAMPLE_LCD_BK_LIGHT_OFF_LEVEL !EXAMPLE_LCD_BK_LIGHT_ON_LEVEL
#define EXAMPLE_PIN_NUM_SCLK 14 // tft dcx
#define EXAMPLE_PIN_NUM_MOSI 47 // tft sda
#define EXAMPLE_PIN_NUM_MISO 38 // tft sdo
#define EXAMPLE_PIN_NUM_LCD_DC 11
#define EXAMPLE_PIN_NUM_LCD_RST 12 // tft resx
#define EXAMPLE_PIN_NUM_LCD_CS 45 // tft csx
#define EXAMPLE_PIN_NUM_BK_LIGHT 4
#define EXAMPLE_PIN_NUM_TOUCH_CS -1Code: Untitled.c Select all
ESP_ERROR_CHECK(esp_lcd_new_panel_ili9341(io_handle, &panel_config, &panel_handle));Code: Untitled.c Select all
ESP_ERROR_CHECK(esp_lcd_new_panel_st7789(io_handle, &panel_config, &panel_handle));