git clone https://github.com/lvgl/lv_demos.git
.lv_demos
directory should be next to the lvgl
directory in your project.Similarly to lv_conf.h
there is a configuration file for the examples too. It is called lv_demo_conf.h
.
lv_demos/lv_demo_conf_template.h
next to lv_demos
directorylv_demo_conf.h
#if 0
to #if 1
to enable the file's contentShows how the widgets look like out of the box using the built-in material theme. See in lv_demo_widgets folder.
The music player demo shows what kind of modern, smartphone-like user interfaces can be created on LVGL. It works the best with display with 480x272 or 272x480 resolution.
See in lv_demo_music folder.
LVGL allows you to control the widgets with a keypad and/or encoder without a touchpad. This demo shows how to handle buttons, drop-down lists, rollers, sliders, switches, and text inputs without touchpad. Learn more about the touchpad-less usage of LVGL here.
See in lv_demo_keypad_encoder folder.
A demo to measure the performance of LVGL or to compare different settings. See in lv_demo_benchmark folder.
A stress test for LVGL. It contains a lot of object creation, deletion, animations, style usage, and so on. It can be used if there is any memory corruption during heavy usage or any memory leaks. See in lv_demo_stress folder.
For contribution and coding style guidelines, please refer to the file docs/CONTRIBUTNG.md in the main LVGL repo: https://github.com/lvgl/lvgl
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。