当前位置:网站首页>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
边栏推荐
- h5液体动画js特效代码
- Oracle/PLSQL: Cast Function
- Oracle/PLSQL: Soundex Function
- Lodash get JS code implementation
- Crowd simulation
- Flink learning 3: data processing mode (stream batch)
- I earned 3W yuan a month from my sideline: the industry you despise really makes money!
- Detailed explanation of ThreadLocal
- Why pass SPIF_ Sendchange flag systemparametersinfo will hang?
- Docker deploy redis cluster
猜你喜欢
随机推荐
paddlepaddle 19 动态修改模型的最后一层
SQLite reader plug-in tests SQLite syntax
paddlepaddle 21 基于dropout实现用4行代码dropblock
执念斩长河暑期规划
[array] sword finger offer II 012 The sum of left and right subarrays is equal | sword finger offer II 013 Sum of two dimensional submatrix
Calculation of average wind direction and speed (unit vector method)
Paddlepaddle 21 is implemented based on dropout with 4 lines of code droplock
Flink学习3:数据处理模式(流批处理)
docker部署redis集群
paddlepaddle 20 指数移动平均(ExponentialMovingAverage,EMA)的实现与使用(支持静态图与动态图)
1. Project preparation and creation
Flink learning 2: application scenarios
Flink learning 5: how it works
pytorch 22 8种Dropout方法的简介 及 基于Dropout用4行代码快速实现DropBlock
Leetcode 785: judgment bipartite graph
Hot discussion: what are you doing for a meaningless job with a monthly salary of 18000?
ORM cache package for laravel
TechSmith Camtasia最新2022版详细功能讲解下载
超級詳細,2 萬字詳解,吃透 ES!
企业数字化转型:信息化与数字化

![[Shangshui Shuo series] day 6](/img/47/7cd44f4e361af53cac7cea9d0d7ecb.png)







