# 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 下载量 15 浏览量
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
- 粉丝: 2215
- 资源: 69
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于增量容量分析(ICA分析)和差分电压分析(DVA分析)的锂离子电池SOH和RUL预测 包括对原始数据的处理、滤波、绘制IC和DV曲线、提取特征、预测模型的构建
- 基于java的企业员工信息管理系统论文.doc
- 基于java的扫雷游戏的设计与实现论文.doc
- 毕业设计Jupyter Notebook基于深度网络的垃圾识别与分类算法研究项目源代码,用PyTorch框架中的transforms方法对数据进行预处理操作,后经过多次调参实验,对比不同模型分类效果
- 鸿蒙学习记录http网络请求
- 基于javaweb的沙发销售管理系统论文.doc
- 机器人运动学控制,simulink仿真模型,基于滑膜边结构控制,学习滑膜控制的不二法门,文件包含模型的说明和模型原理讲解
- 小红书2024新年市集合作方案解析与品牌营销策略
- 微藻检测18-YOLO(v5至v11)、COCO、CreateML、Paligemma、TFRecord、VOC数据集合集.rar
- 基于LCL滤波器的单相光伏逆变器控制设计的MATLAB-Simulink仿真
- 用于Unity使用NuGet
- 2024年全球干式变压器行业规模及市场占有率分析报告
- 基于深度学习的视频描述综述:视觉与语言的桥梁
- NE555+74LS192+74LS48电子秒表课程设计报告(纯数电实现)
- 基于滑膜观测器和MTPA的内置式永磁同步电机无位置传感器模型
- 单相全桥逆变电路MATLAB仿真,原理图设计,单相全桥逆变器设计资料,ti的参考,可用做光伏并网逆变器,400V输入,220V输出 包括硬件ad原理图设计,pcb设计,设计指南,bom表等,资料齐全
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0