I’m new to LVGL and would like to implement something very simple on my Raspberry Pi as a proof of concept and begin exploring a couple questions I have. I’m imagining that I should be able to quickly find a small concise example, but for LVGL I cannot. Not in the lv_exmples project or anywhere else. In comparison, the top search result for “FLTK first program” found exactly what I’m looking for WRT FLTK.
Where can I find something like that for LVGL?
I would think I’d find something a bit more complete than this basic skeleton:
#include <cstdio>
#include <lvgl.h>
int main()
{
printf("it's an LVGL world\n");
lv_init();
return 0;
}
My search for this sort of thing has been surprising fruitless so far. Am I just completely off base somewhere?
What about short tutorial for embedded systems.
for example
List of Files to start lvgl with minimum functionality and minimum resources (ive ported lvgl on stm32 and got 100kb for a whole project (there is usb stack also and lcd drivers) but itsa lot actually)
so it would be helpful for people to use lvgl with mcu`s that has not much memory on board.
It’s missing an example of a complete, barebones program like OP mentioned. I can’t find anywhere a concise, step-by-step rundown of the basic things needed to get lvgl running. That Quick Overview is better than nothing, but it doesn’t really help when you’re trying to figure out how to structure a program initially. It doesn’t even mention lv_init().
I’m still having the same problem as OP in 2024: There’s no code-focused “Getting Started” type of guide for lvgl anywhere on the internet, seemingly. There are a ton of examples of things you can try once you have the base set up, but it all assume you have that set up.
In trying to understand what you are running into, I’d like to ask a few clarifying questions:
Are you looking for a “Getting Started” page or button? Have you seen the “Going Deeper” button (and the section it leads to)? It gives a list of different ways to start getting into actual coding. Is that what you are looking for? Would it be helpful if the “Going Deeper” button was named “Getting Started”? Or are you looking for more content, perhaps what to do to set up a “Hello World!” program using LVGL? And if the latter, on what platform? Windows? Linux? A firmware platform with (perhaps) a demo-kit (hardware) from one of the hardware vendors?