Are there any projects or demos that show a variety of features of the LVGL compiled using the Arduino IDE? Something that shows buttons, sliders, icons, keyboard, etc.?
I have only found projects that require using make files with the ESP-IDF compiler - not something through the Arduino IDE (which is what I am using).
I would love to have that LVGL printer demo (see LVGL's website) so it would compile under the Arduino IDE as that would answer all of my questions about how these things are implemented. It seems that LVGL right now is geared more towards command line jockeys, and not those who prefer IDE only solutions.
I was able to successfully compile and test the 3 TFT_eSPI examples, but these really don't do much (just text and a single slider). I would like to have a keyboard, buttons, sliders, icons, etc.
I hope I can find some example that I can look at. Thanks!
@Pert, you are correct. The only examples for the Arduino are for showing a "hello world" text message and a simple slider. I would really like to see an example of all of the GUI's capabilities like buttons, icons, a keyboard, bar graphs, etc. I have seen lots of examples that require you to do command line compiling with C/C# (not C++ I don't believe), but nothing for the Arduino IDE other than the 3 examples provided (two for ESP32 and one for STM32). I like the Arduino IDE because there is no typing strings of stuff or figuring things out to do compiling - it just works. I don't want to have to go through process of learning a new system (or C#).
I am using a ESP32, and would like to do some things with 320x240 and 480x320 touch displays. I have great success using TFT_eSPI for my displays, but the LVGL GUI capability is what I am really after.
I put together the attached code as a starting point for a GUI to control some colour LEDs. Provided "as is" with no further support from myself!
The LVGL documentation is very good with examples and should get you going in the right direction to generate the code for other graphical objects.
Incidentally the color picker used has a bug in the LVGL library somewhere that corrupts the picker graphic if certain parts of the ring are touched. (i.e. that is a LVGL library issue not a TFT_eSPI one!).
I have a compilation error in LVGL_ESP32_Test_1:
'class TFT_eSPI' has no member named 'getTouch'
However I have an include: #include <lvgl.h> #include <Ticker.h> #include <TFT_eSPI.h> #include <Extensions / Touch.h>
Oh, sorry, I'm in 8 bit parallel. Touch.h is not relevant.
Thanks, I will check out your example. The LVGL team has acknowledged that none of the other standard lvgl demos (benchmark, etc. ) will work with the Arduino version library so they are making all new demos that will simply load and compile like all other typical Arduino examples.