当前位置:网站首页>把LVGL所有控件整合到一个工程中展示(LVGL6.0版本)
把LVGL所有控件整合到一个工程中展示(LVGL6.0版本)
2022-07-23 05:43:00 【山、】
最近接触到LVGL,感觉挺好用的,适用于资源相对较小的开发板,使用起来也挺简单方便的。做了个demo,把LVGL的大部分控件用一个工程显示出来。
由于时间有限,没有对控件的样式进行设计,绝大部分都是使用的默认样式。本人也是初学者,例程中有不对的地方,大家多多包涵。
注意:
使用的是LGVL6.0版本,一开始从正点原子接触到这个,后来发现现在的LVGL都更新到8.3了,又重新跟着百问网学习了新版本。
第二个界面中,用ddlist选中要演示的控件后,按ok键才能切换
在scale中,为了显示LVGL的任务系统,回调函数中的业务逻辑没有写好,要等控件动画演示完毕再切换,否则程序会卡死
我把其中的功能类型相似的控件进行分类显示,(比如lv_arc和lv_line都属于画线类型,lv_sw、lv_cb都属于开关类型)所以一个例程中可能会显示好几个控件;
时间有限,好多地方都没有优化改进,大家多多包涵。
下面图片有PC端模拟器的图片也有开发板实验的图片,开发板是正点原子的探索者STM32F407。












MDK工程文件:
链接:https://pan.baidu.com/s/1sYjnG7hY9G4Vd1w_mradKQ
提取码:8fph
PC端工程文件:
链接:https://pan.baidu.com/s/1TS2rBm0x0KxIn-YYQ0UjNg
提取码:fykf
边栏推荐
- BST tree
- High level API of propeller realizes image rain removal
- Résumé des connaissances mathématiques communes
- 生命科学领域下的医药研发通过什么技术?冷冻电镜?分子模拟?IND?
- 从已有VOC2007数据集生成yolov3所需要的数据集,以及正式开始调试程序需要修改的地方
- Chain queue
- 利用or-tools来求解路径规划问题(TSP)
- Find the sum of numbers between 1 and 100 that cannot be divided by 3
- What is the IP address
- Interpretation of the paper: a convolutional neural network for identifying N6 methyladenine sites in rice genome using dinucleotide one hot encoder
猜你喜欢

Comment se développe le serveur GPU refroidi à l'eau dans le Centre de données dans le cadre de l'informatique est - Ouest?

NVIDIA NVIDIA released H100 GPU, and the water-cooled server is adapted on the road

Lecturer solicitation order | Apache dolphin scheduler meetup sharing guests, looking forward to your topic and voice!

Definition and application of method

绿色数据中心“东数西算”全面启动

How can knowledge map, map data platform and map technology help the rapid development of retail industry

LearnOpenGL - Introduction

论文解读:《BERT4Bitter:一种基于transformer(BERT)双向编码器表示用于改善苦肽预测的基础模型》

使用PyOD来进行异常值检测

Nt68661 screen parameter upgrade-rk3128-start up and upgrade screen parameters yourself
随机推荐
Eigen multi version library installation
對.h5文件的迭代顯示,h5py數據操作
LVGL8.1版本笔记
常用数学知识汇总
virtual function
How to develop the liquid cooled GPU server in the data center under the "east to West calculation"?
for循环
Notes | (station B) Adult Liu: pytorch deep learning practice (code detailed notes, suitable for zero Foundation)
Résumé des connaissances mathématiques communes
Six trends and eight technologies of high-performance computing in data centers under "data center white paper 2022" and "computing from the east to the west"
matplotlib使用总结
论文解读:《开发一种基于多层深度学习的预测模型来鉴定DNA N4-甲基胞嘧啶修饰》
Ninja startup process
Pytoch personal record (do not open)
Introduction and use of Ninja
Ffmpeg audio coding
论文解读:《i4mC-Deep: 利用具有化学特性的深度学习方法,对 N4-甲基胞嘧啶位点进行智能预测》
硬件知识1--原理图和接口类型(基于百问网硬件操作大全视频教程)
CPC client installation tutorial
建设“绿色计算”,解读“智算中心”