当前位置:网站首页>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 什么意思 每次重启都是它 。
边栏推荐
- OSPF message details - LSA overview
- arduino获取数组的长度
- Word typesetting (subtotal)
- Contiki源码+原理+功能+编程+移植+驱动+网络(转)
- Using LinkedHashMap to realize the caching of an LRU algorithm
- Password free login of distributed nodes
- [NPUCTF2020]ReadlezPHP
- Correspondence between STM32 model and contex M
- Implementation scheme of distributed transaction
- JS array + array method reconstruction
猜你喜欢

Pytoch Foundation
![C language callback function [C language]](/img/7b/910016123738240e24549ddea8a162.png)
C language callback function [C language]

Connexion sans mot de passe du noeud distribué

A possible cause and solution of "stuck" main thread of RT thread

Mysql database interview questions

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

5G工作原理详解(解释&图解)

第4阶段 Mysql数据库

sklearn之feature_extraction.text.CountVectorizer / TfidVectorizer

2019 Tencent summer intern formal written examination
随机推荐
选择法排序与冒泡法排序【C语言】
分布式節點免密登錄
Several declarations about pointers [C language]
Detailed explanation of nodejs
MySQL realizes read-write separation
arduino JSON数据信息解析
数据库面试常问的一些概念
Stage 4 MySQL database
数据分析之缺失值填充(重点讲解多重插值法Miceforest)
I2C总线时序详解
电商数据分析--薪资预测(线性回归)
R & D thinking 01 ----- classic of embedded intelligent product development process
Using LinkedHashMap to realize the caching of an LRU algorithm
Oppo vooc fast charging circuit and protocol
[BSidesCF_2020]Had_ a_ bad_ day
Kaggle竞赛-Two Sigma Connect: Rental Listing Inquiries
关键字 inline (内联函数)用法解析【C语言】
Gallery之图片浏览、组件学习
Internet protocol details
ESP8266通过arduino IED连接巴法云(TCP创客云)