当前位置:网站首页>ESP学习问题记录
ESP学习问题记录
2022-07-06 09:17:00 【csdndulala】
Arduino ESP32开发环境
方法1:官方安装方法
方法2:手动安装方法
这两种方法都是通过github下载,会失败方法3:这里提供另一种方法
该方法已经打包所有工具,直接安装即可(arduino_esp32版本是2.0.3)如果需要使用更新的版本需要采用以下方法:
方法4:当前有两步需要用到github:arduino_esp32代码库 和 编译工具 (解决思路就是绕过github实现下载)代码库可以通过码云下载代码库
编译工具是通过get.py去github下载,可以将json文件中的url改为可下载地址
PS 很多帖子都说还可以通过迅雷等下载工具下载,未尝试
esp_now_add_peer 调用报错 报错为 E (109) 或者 E (110)
解决方法
通过将ifidx打印 发现变量初始化时该值为Serial.println(" before"); Serial.println(peerInfo.ifidx); peerInfo.ifidx = WIFI_IF_STA; Serial.println(" after"); Serial.println(peerInfo.ifidx);22:03:42.883 -> before
22:03:42.883 -> 1073338336
22:03:42.883 -> after
22:03:42.883 -> 0问题原因:局部变量初始值随机化。但是不知道这个1073338336 什么意思 每次重启都是它 。
边栏推荐
- [mrctf2020] dolls
- 【yarn】CDP集群 Yarn配置capacity调度器批量分配
- mysql实现读写分离
- Pytorch four commonly used optimizer tests
- STM32型号与Contex m对应关系
- RT thread API reference manual
- MP3mini播放模块arduino<DFRobotDFPlayerMini.h>函数详解
- OSPF message details - LSA overview
- ESP8266通过Arduino IDE连接Onenet云平台(MQTT)
- Reading notes of difficult career creation
猜你喜欢

2019 Tencent summer intern formal written examination

Variable star user module

C语言回调函数【C语言】
![Detailed explanation of Union [C language]](/img/d2/99f288b1705a3d072387cd2dde827c.jpg)
Detailed explanation of Union [C language]

Linux yum安装MySQL

FTP file upload file implementation, regularly scan folders to upload files in the specified format to the server, C language to realize FTP file upload details and code case implementation

ToggleButton实现一个开关灯的效果

几个关于指针的声明【C语言】

Oppo vooc fast charging circuit and protocol

分布式节点免密登录
随机推荐
【CDH】CDH5.16 配置 yarn 任务集中分配设置不生效问题
Inline detailed explanation [C language]
4. Install and deploy spark (spark on Yan mode)
FTP file upload file implementation, regularly scan folders to upload files in the specified format to the server, C language to realize FTP file upload details and code case implementation
Redis面试题
分布式节点免密登录
機器學習--線性回歸(sklearn)
Pytorch-温度预测
【CDH】CDH/CDP 环境修改 cloudera manager默认端口7180
【presto】presto 参数配置优化
JS array + array method reconstruction
FreeRTOS 任务函数里面的死循环
Mysql database interview questions
uCOS-III 的特点、任务状态、启动
2020 WANGDING cup_ Rosefinch formation_ Web_ nmap
Vert. x: A simple login access demo (simple use of router)
[Flink] Flink learning
Redis interview questions
arduino获取数组的长度
arduino获取随机数