当前位置:网站首页>ESP8266
ESP8266
2022-06-27 02:49:00 【one billion six hundred and fifteen million five hundred and fo】
Additional development board management website is what to use ?
This website can let arduino Get the library function of the main chip of the development board . Let's write code that can directly call library functions .
How to test the quality of the development board ?
Use blink example Have a try , have a look led Flashing no ?
Implementation process of web server interaction
8266 The running code sets the path and message type sent by the web page as matching parameters , To call different functions .
esp8266_server.on("/", HTTP_GET, handleRoot);
esp8266_server.on("/LED", HTTP_POST, handleLED);
esp8266_server.onNotFound(handleNotFound);
Whenever a client sends to the server HTTP When asked , We can use on Function to set HTTP Request callback function .
adopt HTTP Request callback function , We can get ESP8266 The server generates a response message and sends it to HTTP Requesting client .
server.on(uri, uri_handler);
server.on(uri, method, uri_handler);
– uri: HTTP Request the requested by the client uri( Parameter type :const String*)
– uri_handler: HTTP Request callback function ( Parameter type :THandlerFunction)
– method: This parameter is used to set the... Used when sending response information to the client HTTP Method . The following are the response method keywords to choose from .
HTTP_ANY
HTTP_GET
HTTP_POST
HTTP_PUT
HTTP_PATCH
HTTP_DELETE
HTTP_OPTIONS
Reference resources :
ESP8266 – ESP8266WebServer library – on – Taiji maker
ESP8266 Be able to act as softAP( route AP)/station( Terminal equipment ).ESP8266 It can transparently transmit serial port data . The maximum rate is 4Mbps.
You can use the official AT The firmware , You can also use it yourself SDK Developing firmware (non-OS SDK and RTOS SDK). I can't SDK Development , So use it directly AT Firmware to transparently transmit data .
https://zhuanlan.zhihu.com/p/166536234
边栏推荐
- 使用命令行安装达梦数据库
- Web development framework - Express (installation and use, static hosting, routing processing, use of Middleware)
- C# Tcp服务器如何限制同一个IP的连接数量?
- TP5 Spreadsheet Excle 表格导出
- Super détaillé, 20 000 caractères détaillés, mangez à travers es!
- Oracle/PLSQL: Substr Function
- 测试nohup和&的各自作用
- Brief introduction of 228 dropout methods of pytorch and fast implementation of dropblock with 4 lines of code based on dropout
- 【一起上水硕系列】Day 6
- Super detailed, 20000 word detailed explanation, thoroughly understand es!
猜你喜欢
Flink learning 5: how it works
TechSmith Camtasia latest 2022 detailed function explanation Download
Super détaillé, 20 000 caractères détaillés, mangez à travers es!
Learn Tai Chi Maker - mqtt (VI) esp8266 releases mqtt message
Flink learning 3: data processing mode (stream batch)
lottie. JS creative switch button animal head
学习太极创客 — MQTT(六)ESP8266 发布 MQTT 消息
学习太极创客 — MQTT 第二章(三)保留消息
一文教你Kali信息收集
超級詳細,2 萬字詳解,吃透 ES!
随机推荐
Cvpr2022 | pointdistiller: structured knowledge distillation for efficient and compact 3D detection
栈溢出漏洞
How does the C # TCP server limit the number of connections to the same IP?
Detailed explanation of ThreadLocal
Precautions for using sneakemake
Summer planning for the long river
Mmdetection uses yolox to train its own coco data set
学习太极创客 — MQTT(八)ESP8266订阅MQTT主题
Would rather go to 996 than stay at home! 24 years old, unemployed for 7 months, worse than work, no work
Flink学习1:简介
Learn Tai Chi Maker - mqtt (VIII) esp8266 subscribe to mqtt topic
How does the brain do arithmetic? Both addition and subtraction methods have special neurons, and the symbol text can activate the same group of cell sub journals
How does source insight (SI) display the full path? (do not display omitted paths) (turn off trim long path names with ellipses)
Dameng database installation
Flink learning 5: how it works
Learning Tai Chi Maker - mqtt Chapter 2 (II) esp8266 QoS application
DAMA、DCMM等数据管理框架各个能力域的划分是否合理?有内在逻辑吗?
Is the division of each capability domain of Dama, dcmm and other data management frameworks reasonable? Is there internal logic?
Press key to control LED status reversal
Window 加密壳实现