Ok, is this a bare bones?

This is what I came up with. I just want a basic starter, where I can add LVGL “code” and make something functional. I keep getting different “solutions” from various places, I think part of it LVGL being updated, some of the answers I’m reading no longer apply. Other places, I get only a partial answer, key bits being left out (not here).

So this is what I have, please tell me where I may be going wrong and what I need. The “setup” section works as far as the hardware goes, that’s taken from a known working program. I’m just concerned about the LVGL bits.

Any help would be much appreciated.

BareBones.c (4.4 KB)


I added “main_gui()” to “setup”. I noticed that wasn’t in there when I built it.


Your code looks okay, have you tried running it on the hardware?

Thanks, I finally got it all running.
I’m still running into a few issues, but after a while it starts behaving.
I just wasn’t sure if that was all I needed or not, to make things work.
I think the flush_cb and the timer were throwing me off, but I was more concerned if I needed something else (important) in the setup routine.