Using LVGL and TFT for all XIAO Series | Seeed Studio Wiki #534
Replies: 2 comments 1 reply
-
It seems that the TFT_eSPI library still does not support the XIAO ESP32-C6 boards as of October 8, 2024. I've purchased 6 XIAO ESP32-C6 boards specifically for display projects, but I cannot use them with this library. |
Beta Was this translation helpful? Give feedback.
-
I have just installed SquareLine Studio 1.5.1 and found a couple of issues with above presented code. It does not match the code exported by newer versions of that designer software. Also, the touch panel did not work at all and needed to be fixed. To get things easier for other starters, please find below the code I needed to modify after I exported by "Create Template Project". Step 1) Create the interface in SquareLine Studio #include <lvgl.h> // Changed path // Added from here /Don't forget to set Sketchbook location in File/Preferences to the path of your UI project (the parent foder of this INO file)/ // Change to your screen resolution static lv_disp_draw_buf_t draw_buf; TFT_eSPI tft = TFT_eSPI(screenWidth, screenHeight); // TFT instance #if LV_USE_LOG != 0 /* Display flushing */
} /Read the touchpad/
} void setup()
#if LV_USE_LOG != 0
} void loop() |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Using LVGL and TFT for all XIAO Series | Seeed Studio Wiki
Using LVGL and TFT on the Seeed Studio Round Display for XIAO
https://wiki.seeedstudio.com/using_lvgl_and_tft_on_round_display/
Beta Was this translation helpful? Give feedback.
All reactions