当前位置:网站首页>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
边栏推荐
- 参数估计——《概率论及其数理统计》第七章学习报告(点估计)
- Uninstallation of Dameng database
- 【微服务|Sentinel】降级规则|慢调用比例|异常比例|异常数
- Look! In June, 2022, the programming language ranking list was released! The first place is awesome
- Quicksand painting simulator source code
- 剑指Offer || :栈与队列(简单)
- Installing the Damon database using the command line
- C language -- Design of employee information management system
- pytorch_ grad_ Cam -- visual Library of class activation mapping (CAM) under pytorch
- Cs5213 HDMI to VGA (with audio) single turn scheme, cs5213 HDMI to VGA (with audio) IC
猜你喜欢
随机推荐
mmdetection ValueError: need at least one array to concatenate解决方案
Sword finger offer 𞓜: stack and queue (simple)
lodash get js代码实现
Learn Tai Chi Maker - mqtt (VIII) esp8266 subscribe to mqtt topic
Installing the Damon database using the command line
QIngScan使用
超級詳細,2 萬字詳解,吃透 ES!
Svg drag dress Kitty Cat
Oracle/PLSQL: Upper Function
2022 operation of simulated examination platform for tea artist (Senior) work license question bank
Super detailed, 20000 word detailed explanation, thoroughly understand es!
paddlepaddle 19 动态修改模型的最后一层
超级详细,2 万字详解,吃透 ES!
Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
学习太极创客 — MQTT(七)MQTT 主题进阶
h5液体动画js特效代码
Fork (), exec (), waitpid (), $? > > in Perl 8 combination
XSS attack (note)
Oracle/PLSQL: VSize Function
发现一款 JSON 可视化工具神器,太爱了!









