First of all, I’m a complete beginner in this topic. ![]()
My hardware setup:
- Xiao ESP32C3, I’m coding in C using the Arduino IDE.
- 1.8" 128x160 SPI TFT display module with built-in SD card (ST7735 driver).
I’m trying to drive the screen with the ESP32. I initially tried to get help from AI models, but I couldn’t get it to work. I wasn’t able to compile the code, and I kept getting errors. I had previously used the screen successfully with the Adafruit_GFX library, but I couldn’t make it work with LVGL.
I installed the LVGL Arduino library.
After that, I made some changes in the lvgl_config_template.h file and renamed it to lvgl_config.h.
I also modified the TFT’s User_Setup file, since I needed to define the connection pins between the screen and the ESP32.
At first, I was working with LVGL v8, but then I realized that the version I was using was v9. I learned that the code structure changes between versions, so I started over with v9. Still, I couldn’t get any output on the screen—not even with v8 or v9. I couldn’t even compile the code properly.
I have conversations with AI models about this topic, and I can share them if needed—they’re in Turkish.
The screen shows some text already, but I just want to use a few symbols (like Wi-Fi, temperature, SD card icons, etc.). I don’t know where to begin. The GFX library works for me, but it’s not enough.
LVGL feels too advanced for me, especially since my screen is small and not a touchscreen. Still, I want to use it because it helps with icons and looks great visually. I’d really appreciate your help.
I tried reading and following the getting started guide, but I couldn’t make it work either.