当前位置:网站首页>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”头文件

边栏推荐
- 八大排序汇总
- How to Create a Nice Box and Whisker Plot in R
- Tiktok overseas tiktok: finalizing the final data security agreement with Biden government
- CentOS8之mysql基本用法
- excel表格中选中单元格出现十字带阴影的选中效果
- C file and folder operation
- Tidb DM alarm DM_ sync_ process_ exists_ with_ Error troubleshooting
- MySQL比较运算符IN问题求解
- Seriation in R: How to Optimally Order Objects in a Data Matrice
- 制造业数字化转型和精益生产什么关系
猜你喜欢

Esp32 audio frame esp-adf add key peripheral process code tracking

数字化转型挂帅复产复工,线上线下全融合重建商业逻辑

Jinshanyun - 2023 Summer Internship

2022年遭“挤爆”的三款透明LED显示屏

How to Visualize Missing Data in R using a Heatmap

PowerBI中导出数据方法汇总

Cluster Analysis in R Simplified and Enhanced

电脑无缘无故黑屏,无法调节亮度。

【IDEA】使用插件一键逆向生成代码

Basic usage of MySQL in centos8
随机推荐
可昇級合約的原理-DelegateCall
Solve the problem of data blank in the quick sliding page of the uniapp list
flutter 问题总结
亚马逊云科技 Community Builder 申请窗口开启
RPA advanced (II) uipath application practice
qt 仪表自定义控件
A white hole formed by antineutrons produced by particle accelerators
ESP32音频框架 ESP-ADF 添加按键外设流程代码跟踪
从ros1到ros2配置的一些东西
念念不忘,必有回响 | 悬镜诚邀您参与OpenSCA用户有奖调研
MySQL linked list data storage query sorting problem
Astparser parsing class files with enum enumeration methods
PX4 Position_ Control RC_ Remoter import
HOW TO EASILY CREATE BARPLOTS WITH ERROR BARS IN R
对毕业季即将踏入职场的年轻人的一点建议
进入前六!博云在中国云管理软件市场销量排行持续上升
Cluster Analysis in R Simplified and Enhanced
Develop scalable contracts based on hardhat and openzeppelin (I)
Tidb DM alarm DM_ sync_ process_ exists_ with_ Error troubleshooting
webauthn——官方开发文档