当前位置:网站首页>ESP32 Arduino 引入LVGL 碰到的一些问题
ESP32 Arduino 引入LVGL 碰到的一些问题
2022-07-02 09:41:00 【Neo Wordsworth】
【1】
最开始引入lv_arduino,和网上的教程对不上,发现它是LVGL (v7.0.x),
打开github,看到提示,已经不再更新了,让引入 lvgl库
【2】
编译报错,缺少lv_conf.h。发现lv_conf_template.h有点像点进去,看到
需要把这个文件名改为“lv_conf.h”
【3】
继续编译,又错,还是缺少lv_conf.h
在报错的文件lv_conf_internal.h搜索lv_conf.h,发现include引入的相对路径不对
根据文件位置,改为
【4】
之后添加几个控件都能显示了。
开始发现应该左右滚动的文字没滚,也没管它。
之后想刷新文本显示,也不能刷新。
折腾一番后,打开lv_log_register_print_cb( my_print );日志,看到警告信息
根据警告位置,顺着代码,发现lv_tick_get();的问题,继续找进去
发现要在lv_conf_internal.h中配置,添加红线部分,使能“arduino.h”头文件
边栏推荐
- 程序员成长第六篇:如何选择公司?
- STM32 single chip microcomputer programming learning
- SSRF
- HOW TO ADD P-VALUES ONTO A GROUPED GGPLOT USING THE GGPUBR R PACKAGE
- ESP32音频框架 ESP-ADF 添加按键外设流程代码跟踪
- Programmer growth Chapter 6: how to choose a company?
- Visualization of chip SEQ data by deeptools
- 基于 Openzeppelin 的可升级合约解决方案的注意事项
- 数字化转型挂帅复产复工,线上线下全融合重建商业逻辑
- Research on and off the Oracle chain
猜你喜欢
GGPUBR: HOW TO ADD ADJUSTED P-VALUES TO A MULTI-PANEL GGPLOT
ren域名有价值吗?值不值得投资?ren域名的应用范围有哪些?
MTK full dump grab
Webauthn - official development document
RPA advanced (II) uipath application practice
On April 17, 2022, the five heart matchmaker team received double good news
pgsql 字符串转数组关联其他表,匹配 拼接后原顺序展示
Seriation in R: How to Optimally Order Objects in a Data Matrice
PowerBI中导出数据方法汇总
tidb-dm报警DM_sync_process_exists_with_error排查
随机推荐
Seriation in R: How to Optimally Order Objects in a Data Matrice
Principle of scalable contract delegatecall
ros缺少xacro的包
SSRF
解决uniapp列表快速滑动页面数据空白问题
The difference between SQL left join main table restrictions written after on and where
Jinshanyun - 2023 Summer Internship
在网上开股票账户安全吗?我是新手,还请指导
Skills of PLC recorder in quickly monitoring multiple PLC bits
电脑无缘无故黑屏,无法调节亮度。
可升级合约的原理-DelegateCall
Is the stock account given by qiniu business school safe? Can I open an account?
Liftover for genome coordinate conversion
Fabric.js 3个api设置画布宽高
Order by injection
从ros1到ros2配置的一些东西
How to Visualize Missing Data in R using a Heatmap
C file and folder operation
Installation of ROS gazebo related packages
MySQL linked list data storage query sorting problem