Skip to content

Commit 0b5a40c

Browse files
Update Wireless_Paper_V1.1.ino
1 parent 2ac9968 commit 0b5a40c

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

examples/wireless_paper/Wireless_Paper_V1.1/Wireless_Paper_V1.1.ino

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/* Heltec Automation Wireless_Paper_V1.0 Sensors test example
2+
*
3+
* Function:
4+
* Refresh e-paper through BLE, WIFI, and LORAWAN (currently unavailable)
5+
*
6+
* HelTec AutoMation, Chengdu, China
7+
* www.heltec.org
8+
* Operation instance:
9+
*
10+
* this project also realess in GitHub:
11+
* https://github.com/HelTecAutomation/Heltec_ESP32
12+
*/
13+
14+
115

216
#include "../../../src/webser/ESPAsyncWebSrv.h"
317
#include "HT_lCMEN2R13EFC1.h"
@@ -9,14 +23,16 @@ HT_ICMEN2R13EFC1 display(6, 5, 4, 7, 3, 2, -1, 6000000); //rst,dc,cs,busy,sck,
923
int width, height;
1024
String HTTP_Payload ;
1125

12-
AsyncWebServer server(80); // 创建WebServer对象, 端口号80
13-
// 使用端口号80可以直接输入IP访问,使用其它端口需要输入IP:端口号访问
14-
// 一个储存网页的数组
26+
AsyncWebServer server(80); // Create WebServer object with port number 80
27+
28+
//By using port number 80, you can directly enter the IP address for access, while using other ports requires entering the IP: port number for access
29+
30+
//An array for storing web pages
1531
const char *ssid = "Heltec-RD";
1632
const char *password = "hunter_3120";
1733

1834

19-
// 下发处理回调函数
35+
// Distribute processing callback function
2036
void Config_Callback(AsyncWebServerRequest *request)
2137
{
2238

0 commit comments

Comments
 (0)