lvgl / lv_demos

Examples, tutorials and applications for the LVGL embedded GUI library

Home Page:https://lvgl.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could you offer a simplest demo?

sonictl opened this issue · comments

The learning curve for lvgl is sharp. Could you offer a simplest example that only contains one component in screen and compilable main.c file that out-of-box.

Thank you very much!

@kisvegabor Thank you very much for your soon answer!! I guess the example code does not contain the main() function and I don't know how to compile them.

is there any blog post/ tutorial showing how to use these simple examples for newbie. I follows this link but found their guidance is very limited. I met too many errors when trying to compile my code.

Just call e.g. lv_example_btn_1() in your main function.

Awsome~!