Description
I’ve just downloaded the getting started code from the Waveshare Wiki, and am running into compilation errors… is there issues with the code or with my setup?
What MCU/Processor/Board and compiler are you using?
Waveshare ESP32-S3-Touch-LCD-2.8C
What have you tried so far?
I traced the rabbit hole of trying to fix the include errors thrown but kept getting new errors so wondering if there is something fundamentally wrong with my setup. I redownloaded a clean version and am back at square one…
Screenshot and/or video
Thanks!
Hi. Welcome to the community!
I also have a similar round display from Waveshare and had to made some changes to the example so it would be compatible with LVGL v9.
You can check it here: GitHub - giobauermeister/waveshare-round-esp32-lvgl: Template project for Waveshare 2.1 round display with support for LVGL v9 and ESP-IDF v5
Thanks! Good to know the example doesn’t work out of the box and it isn’t just me.
I’m having some issues with the include statements at the top of the main script. I’m compiling it through the Arduino IDE if that makes any difference. For example,
#include “TCA9554PWR.h” as well as
#include “PCF85063.h”
I see here that all the header files are alongside the main .ino file in the example. That should usually work.
LVGL_Arduino $ ls
BAT_Driver.cpp Display_ST7701.cpp Gyro_QMI8658.cpp I2C_Driver.cpp LVGL_Arduino.ino LVGL_Driver.h LVGL_Example.h RTC_PCF85063.h SD_Card.h TCA9554PWR.h Touch_GT911.h Wireless.h
BAT_Driver.h Display_ST7701.h Gyro_QMI8658.h I2C_Driver.h LVGL_Driver.cpp LVGL_Example.cpp RTC_PCF85063.cpp SD_Card.cpp TCA9554PWR.cpp Touch_GT911.cpp Wireless.cpp
Is Arduino IDE not able to find those files?
Perhaps you could get a better answer in the Arduino forum about Arduino IDE project structure