Change default wifi mode to AP.
This commit is contained in:
1 parent
178acaf39e
commit
a9653a59af
1 file changed
+3
-3
@@ -152,8 +152,8 @@ void setup() {
|
||||
Serial2.begin(1000000);//腿部sts舵机
|
||||
|
||||
//Wifi初始化
|
||||
//WiFi_SetAP();
|
||||
set_sta_wifi(); // ESP-01S STA模式接入WiFi网络
|
||||
WiFi_SetAP();
|
||||
// set_sta_wifi(); // ESP-01S STA模式接入WiFi网络
|
||||
webserver.begin();
|
||||
webserver.on("/", HTTP_GET, basicWebCallback);
|
||||
websocket.begin();
|
||||
@@ -566,4 +566,4 @@ void bat_check()
|
||||
}
|
||||
else
|
||||
bat_check_num++;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user