iamfaraz / Waveshare_ST7262_LVGL

Waveshare_ST7262_LVGL is an Arduino library designed for Waveshare ESP32-S3 SOC with 7 inch ST7262 LCD and GT911 touchscreen to facilitate rapid GUI development using LVGL.
Apache License 2.0
8 stars 2 forks source link

compile error #2

Open huscoffee opened 1 month ago

huscoffee commented 1 month ago

/Users/hus/Downloads/ESP32-S3-Touch-LCD-7_Code/Arduino-ESP32-3.0.2-h/libraries/Waveshare_ST7262_LVGL/src/Waveshare_ST7262_LVGL.cpp: In function 'void lcd_init()': /Users/hus/Downloads/ESP32-S3-Touch-LCD-7_Code/Arduino-ESP32-3.0.2-h/libraries/Waveshare_ST7262_LVGL/src/Waveshare_ST7262_LVGL.cpp:737:70: error: 'ESP_IO_EXPANDER_I2C_CH422G_ADDRESS_000' was not declared in this scope; did you mean 'ESP_IO_EXPANDER_I2C_CH422G_ADDRESS'? 737 | expander = new ESP_IOExpander_CH422G((i2c_port_t)I2C_MASTER_NUM, ESP_IO_EXPANDER_I2C_CH422G_ADDRESS_000, I2C_MASTER_SCL_IO, I2C_MASTER_SDA_IO); | ^~~~~~~~~~ | ESP_IO_EXPANDER_I2C_CH422G_ADDRESS

exit status 1

Compilation error: exit status 1

AgainWithThis commented 1 month ago

Seems this issue is with the update to ESP32_IO_Expander dependancy. Downgrading to v0.0.3 cleared this is error for me.

huscoffee commented 1 month ago

ok thank you