当前位置:网站首页>把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
边栏推荐
- Notes | Baidu flying plasma AI talent Creation Camp: data acquisition and processing (mainly CV tasks)
- Vio --- boundary adjustment solution process
- MySQL transaction
- 论文解读:《功能基因组学transformer模型的可解释性》
- Interpretation of the paper: attention based multi label neural network for comprehensive prediction and interpretation of 12 widely existing RNA modifications
- 深度卷积生成对抗网络
- 笔记 | 百度飞浆AI达人创造营:深度学习模型训练和关键参数调优详解
- Neo4j 知识图谱的图数据科学-如何助力数据科学家提升数据洞察力线上研讨会于6月8号举行
- 论文解读:《i4mC-Deep: 利用具有化学特性的深度学习方法,对 N4-甲基胞嘧啶位点进行智能预测》
- for循环
猜你喜欢

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

How to build a liquid cooling data center is supported by blue ocean brain liquid cooling technology

Maybe I can't escape class! How to use paddlex to point the head?

High level API of propeller to realize face key point detection

NLP自然语言处理-机器学习和自然语言处理介绍(一)

CPC client installation tutorial

LearnOpenGL - Introduction

数据挖掘场景-发票虚开

对.h5文件的迭代显示,h5py数据操作

Pytoch personal record (do not open)
随机推荐
打印直角三角型、等腰三角型、菱形
LearnOpenGL - Introduction
Binary tree
Gartner调查研究:中国的数字化发展较之世界水平如何?高性能计算能否占据主导地位?
Inheritance and polymorphism
利用google or-tools 求解数独难题
What technologies are used in pharmaceutical research and development in the field of life sciences? Cryoelectron microscope? Molecular simulation? IND?
方法的定义应用
Under the "double carbon" goal of the digital economy, why does the "digital East and digital West" data center rely on liquid cooling technology to save energy and reduce emissions?
怎么建立数据分析思维
VIO---Boundle Adjustment求解过程
Pytoch personal record (do not open)
智能指针shared_ptr和unique_ptr
利用pycaret:低代码,自动化机器学习框架解决回归问题
利用or-tools来求解路径规划问题(VRP)
Comparison between pytorch and paddlepaddle -- Taking the implementation of dcgan network as an example
MySQL view
Gartner research: how is China's digital development compared with the world level? Can high-performance computing dominate?
LVGL8.1版本笔记
Circular queue