ESP32-S3-Touch-LCD-4.3

im using arduino ide to interface with a ESP32-S3-Touch-LCD-4.3 and im trying one of the examples. link to product: https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-4.3#Overview

here is the code:


#include "waveshare_lcd_port.h"

void setup()
{
    Serial.begin(115200); // Initialize serial communication at 115200 baud rate
    Serial.println("RGB LCD example start"); // Print start message for RGB LCD example
    waveshare_lcd_init(); // Initialize the RGB LCD
    Serial.println("RGB LCD example end"); // Print end message for RGB LCD example
}

void loop()
{
    delay(1000); // Wait for 1 second
#if EXAMPLE_ENABLE_PRINT_LCD_FPS
    Serial.println("RGB refresh rate: " + String(fps)); // Print RGB refresh rate
#else
    Serial.println("IDLE loop"); // Print idle loop message
#endif
}

this is the error when verifying
\Arduino\libraries\ESP32-S3-Touch-LCD-4.3B-BOX-Demo\Arduino\examples\08_DrawColorBar\waveshare_lcd_port.cpp: In function 'void waveshare_lcd_init()':

\Arduino\libraries\ESP32-S3-Touch-LCD-4.3B-BOX-Demo\Arduino\examples\08_DrawColorBar\waveshare_lcd_port.cpp:41:15: error: 'class ESP_IOExpander_CH422G' has no member named 'enableAllIO_Output'
41 | expander->enableAllIO_Output();
| ^~~~~~~~~~~~~~~~~~

Compilation error: 'class ESP_IOExpander_CH422G' has no member named 'enableAllIO_Output'

im still currently trying to figure out the display so if anyone knows how to add gragpics that would also be apreatiated.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.