# Demos for LVGL
## Add the examples to your projects
1. Clone this repository: `git clone https://github.com/lvgl/lv_demos.git`.
2. The `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`.
1. Copy `lv_demos/lv_demo_conf_templ.h` next to `lv_demos` directory
2. Rename it to `lv_demo_conf.h`
3. Change the first `#if 0` to `#if 1` to enable the file's content
4. Enable or Disable demos
## Demos
### Widgets
Shows how the widgets look like out of the box using the built-in material theme.
See in [lv_demo_widgets](https://github.com/lvgl/lv_examples/tree/master/src/lv_demo_widgets) folder.
<img src="https://github.com/lvgl/lv_examples/blob/master/src/lv_demo_widgets/screenshot1.png?raw=true" width=600px alt="Basic demo to show the widgets of LVGL">
### Music player
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](https://github.com/lvgl/lv_examples/tree/master/src/lv_demo_music) folder.
<img src="https://github.com/lvgl/lv_examples/blob/master/src/lv_demo_music/screenshot1.gif?raw=true" width=600px alt="Music player demo with LVGL">
### Keypad and encoder
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](https://docs.lvgl.io/v7/en/html/overview/indev.html#keypad-and-encoder).
See in [lv_demo_keypad_encoder](https://github.com/lvgl/lv_examples/tree/master/src/lv_demo_keypad_encoder) folder.
<img src="https://github.com/lvgl/lv_examples/blob/master/src/lv_demo_keypad_encoder/screenshot1.png?raw=true" width=600px alt="Keypad and encoder navigation in LVGL embedded GUI library">
### Benchmark
A demo to measure the performance of LVGL or to compare different settings.
See in [lv_demo_benchmark](https://github.com/lvgl/lv_examples/tree/master/src/lv_demo_benchmark) folder.
<img src="https://github.com/lvgl/lv_examples/blob/master/src/lv_demo_benchmark/screenshot1.png?raw=true" width=600px alt="Benchmark demo with LVGL embedded GUI library">
### Stress
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](https://github.com/lvgl/lv_examples/tree/master/src/lv_demo_stress) folder.
<img src="https://github.com/lvgl/lv_examples/blob/master/src/lv_demo_stress/screenshot1.png?raw=true" width=600px alt="Stress tes tfor LVGL">
## Contributing
For contribution and coding style guidelines, please refer to the file docs/CONTRIBUTNG.md in the main LVGL repo:
https://github.com/lvgl/lvgl
没有合适的资源?快使用搜索试试~ 我知道了~
lv_demos-master.zip
共113个文件
c:65个
h:13个
png:12个
需积分: 12 1 下载量 36 浏览量
2021-11-12
12:24:36
上传
评论
收藏 7.56MB ZIP 举报
温馨提示
主要为在ARM linux下移植littlevgl,需要使用到的demos git clone https://github.com/lvgl/lv_demos.git 切到tag v7.11.0 或者直接下载压缩包 https://github.com/lvgl/lv_demos/tree/v7.11.0
资源详情
资源评论
资源推荐
收起资源包目录
lv_demos-master.zip (113个子文件)
img_lv_demo_music_cover_1_large.c 9.44MB
img_lv_demo_music_cover_3_large.c 9.44MB
img_lv_demo_music_cover_2_large.c 9.44MB
img_lv_demo_music_wave_bottom_large.c 1.83MB
img_lv_demo_music_wave_top_large.c 1.83MB
img_demo_widgets_avatar.c 1.63MB
img_lv_demo_music_cover_3.c 1.59MB
img_lv_demo_music_cover_2.c 1.59MB
img_lv_demo_music_cover_1.c 1.59MB
img_lv_demo_music_btn_pause_large.c 1.38MB
img_lv_demo_music_btn_play_large.c 1.38MB
img_lv_demo_music_btn_prev_large.c 853KB
img_lv_demo_music_btn_next_large.c 853KB
img_lv_demo_music_btn_list_pause_large.c 785KB
img_lv_demo_music_btn_list_play_large.c 785KB
img_benchmark_cogwheel_argb.c 705KB
img_lv_demo_music_wave_bottom.c 604KB
img_lv_demo_music_wave_top.c 604KB
img_benchmark_cogwheel_chroma_keyed.c 530KB
img_benchmark_cogwheel_rgb.c 530KB
img_lv_demo_music_logo.c 498KB
img_lv_demo_music_btn_pause.c 430KB
img_lv_demo_music_btn_play.c 430KB
img_lv_demo_music_slider_knob_large.c 308KB
img_lv_demo_music_btn_prev.c 272KB
img_lv_demo_music_btn_next.c 272KB
img_lv_demo_music_btn_list_pause.c 246KB
img_lv_demo_music_btn_list_play.c 246KB
img_lv_demo_music_list_border_large.c 237KB
img_clothes.c 222KB
img_lvgl_logo.c 129KB
img_lv_demo_music_slider_knob.c 98KB
img_lv_demo_music_btn_loop_large.c 95KB
img_lv_demo_music_btn_rnd_large.c 95KB
img_lv_demo_music_icon_3_large.c 78KB
img_lv_demo_music_list_border.c 77KB
img_lv_demo_music_corner_right_large.c 74KB
img_lv_demo_music_corner_left_large.c 74KB
img_lv_demo_music_btn_corner_large.c 74KB
img_lv_demo_music_icon_2_large.c 69KB
img_lv_demo_music_icon_4_large.c 69KB
lv_demo_widgets.c 68KB
img_lv_demo_music_icon_1_large.c 65KB
img_lv_demo_music_btn_loop.c 42KB
img_lv_demo_music_btn_rnd.c 42KB
lv_demo_benchmark.c 35KB
lv_demo_music_main.c 34KB
img_lv_demo_music_icon_3.c 32KB
img_lv_demo_music_icon_4.c 32KB
img_lv_demo_music_icon_1.c 32KB
img_lv_demo_music_icon_2.c 32KB
img_benchmark_cogwheel_indexed16.c 31KB
img_benchmark_cogwheel_alpha16.c 30KB
img_lv_demo_music_corner_right.c 24KB
img_lv_demo_music_corner_left.c 24KB
lv_font_montserrat_28_compr_az.c 20KB
lv_font_montserrat_28_compr_az.c 20KB
lv_demo_stress.c 15KB
lv_font_montserrat_16_compr_az.c 13KB
lv_font_montserrat_16_compr_az.c 12KB
lv_font_montserrat_12_compr_az.c 11KB
lv_font_montserrat_12_compr_az.c 11KB
lv_demo_music_list.c 7KB
lv_demo_keypad_encoder.c 6KB
lv_demo_music.c 6KB
screenshot1.gif 2.31MB
screenshot1.gif 1.7MB
screenshot1.gif 379KB
screenshot1.gif 127KB
.gitignore 12B
spectrum_3.h 19KB
spectrum_2.h 15KB
spectrum_1.h 9KB
lv_demo_conf_template.h 1KB
lv_demo.h 1KB
lv_demo_music.h 992B
lv_demo_music_main.h 837B
lv_demo_music_list.h 755B
lv_demo.h 622B
lv_demo_keypad_encoder.h 602B
lv_demo_benchmark.h 577B
lv_demo_widgets.h 567B
lv_demo_stress.h 562B
README.md 3KB
README.md 2KB
README.md 1KB
LICENSE.md 1KB
README.md 693B
README.md 605B
lv_demo.mk 59B
screenshot1.png 53KB
avatar.png 47KB
screenshot1.png 29KB
screenshot2.png 15KB
screenshot1.png 14KB
img_cogwheel_argb.png 14KB
screenshot1.png 12KB
img_cogwheel_rgb.png 11KB
img_cogwheel_chroma_keyed.png 11KB
clothes.png 7KB
共 113 条
- 1
- 2
达子666
- 粉丝: 2005
- 资源: 69
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (源码)基于Spring Boot框架的报表管理系统.zip
- (源码)基于树莓派和TensorFlow Lite的智能厨具环境监测系统.zip
- (源码)基于OpenCV和Arduino的面部追踪系统.zip
- (源码)基于C++和ZeroMQ的分布式系统中间件.zip
- (源码)基于SSM框架的学生信息管理系统.zip
- (源码)基于PyTorch框架的智能视频分析系统.zip
- (源码)基于STM32F1的Sybertooth电机驱动系统.zip
- (源码)基于PxMATRIX库的嵌入式系统显示与配置管理.zip
- (源码)基于虚幻引擎的舞蹈艺术节目包装系统.zip
- (源码)基于Dubbo和Redis的用户中台系统.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0