当前位置:网站首页>ESP8266
ESP8266
2022-06-27 02:49:00 【1615549892】
附加开发板管理网址是什么用?
![]()
这个网址可以让arduino获得开发板的主芯片的库函数。让我们写的代码能直接调用库函数。
如何测试开发板的好坏?
使用blink example试一下,看看led闪烁否?
网站服务器交互的实现流程
8266运行的代码中设置了网页发送的路径和消息类型作为匹配参数,来调用不同的函数。
esp8266_server.on("/", HTTP_GET, handleRoot);
esp8266_server.on("/LED", HTTP_POST, handleLED);
esp8266_server.onNotFound(handleNotFound); 每当有客户端向服务器发送HTTP请求时,我们可以利用on函数来设置HTTP请求回调函数。
通过HTTP请求回调函数,我们可以让ESP8266服务器生成响应信息并发送给HTTP请求客户端。
server.on(uri, uri_handler);
server.on(uri, method, uri_handler);
– uri: HTTP请求客户端所请求的uri(参数类型:const String*)
– uri_handler: HTTP请求回调函数(参数类型:THandlerFunction)
– method: 此参数用于设置向客户端发送响应信息时所使用的HTTP方法。以下为可供选择的响应方法关键字。
HTTP_ANY
HTTP_GET
HTTP_POST
HTTP_PUT
HTTP_PATCH
HTTP_DELETE
HTTP_OPTIONS
参考:
ESP8266 – ESP8266WebServer库 – on – 太极创客
ESP8266能作为softAP(路由AP)/station(终端设备)。ESP8266能透传串口数据。最大速率是4Mbps。
可以直接用官方的AT固件,也可以自己使用SDK开发固件(non-OS SDK和RTOS SDK)。自己不会SDK开发,所以直接使用AT固件来透传数据。
https://zhuanlan.zhihu.com/p/166536234
边栏推荐
- 谷歌开始卷自己,AI架构Pathways加持,推出200亿生成模型
- Oracle/PLSQL: Cast Function
- 1、项目准备与新建
- [micro service sentinel] degradation rules slow call proportion abnormal proportion abnormal constant
- mmdetection ValueError: need at least one array to concatenate解决方案
- What if asreml-r does not converge in operation?
- Oracle/PLSQL: Soundex Function
- paddlepaddle 20 指数移动平均(ExponentialMovingAverage,EMA)的实现与使用(支持静态图与动态图)
- 流沙画模拟器源码
- Cs5213 HDMI to VGA (with audio) single turn scheme, cs5213 HDMI to VGA (with audio) IC
猜你喜欢

发现一款 JSON 可视化工具神器,太爱了!

Flink学习2:应用场景

three.js多米诺骨牌js特效

Detailed explanation of ThreadLocal

学习太极创客 — MQTT 第二章(一)QoS 服务质量等级

流沙画模拟器源码

Geometric distribution (a discrete distribution)

ConstraintLayout(约束布局)开发指南

Brief introduction of 228 dropout methods of pytorch and fast implementation of dropblock with 4 lines of code based on dropout

Flink learning 3: data processing mode (stream batch)
随机推荐
Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
Fork (), exec (), waitpid (), $? > > in Perl 8 combination
TP5 Spreadsheet Excle 表格导出
Learn Tai Chi Maker - mqtt (VIII) esp8266 subscribe to mqtt topic
pytorch 23 hook的使用与介绍 及基于hook实现即插即用的DropBlock
LeetCode 785:判断二分图
记录unity 自带读取excel的方法和遇到的一些坑的解决办法
Sample development of WiFi IOT Hongmeng development kit
Learning Tai Chi Maker - mqtt Chapter 2 (II) esp8266 QoS application
Flink learning 4:flink technology stack
Sword finger offer 𞓜: stack and queue (simple)
Getting started with bluecms code auditing
Uninstallation of Dameng database
学习太极创客 — MQTT 第二章(三)保留消息
执念斩长河暑期规划
Brief introduction of 228 dropout methods of pytorch and fast implementation of dropblock with 4 lines of code based on dropout
Oracle/PLSQL: CharToRowid Function
Detailed explanation of ThreadLocal
Flink学习5:工作原理
企业数字化转型:信息化与数字化