Code: Select all
spi_line_config_t line_config = {
.cs_io_type = IO_TYPE_EXPANDER,
.cs_expander_pin = EXAMPLE_LCD_IO_SPI_CS,
.scl_io_type = IO_TYPE_EXPANDER,
.scl_expander_pin = EXAMPLE_LCD_IO_SPI_SCL,
.sda_io_type = IO_TYPE_EXPANDER,
.sda_expander_pin = EXAMPLE_LCD_IO_SPI_SDA,
.io_expander = io_expander, //handle for io_expander
};
The ESP example I've got (example_rgb_avoid_tearing.c) uses the esp_lcd_panel_io_additions library (https://github.com/espressif/esp-iot-so ... _additions), which itself uses the esp_io_expander library (https://github.com/espressif/esp-bsp/tr ... o_expander) as a dependency. Any help would be greatly appreciated.