fix many bugs

This commit is contained in:
Dmitry Borisenko
2020-03-22 22:41:52 +01:00
parent 9a775cd9d4
commit b799a48c8a
15 changed files with 99 additions and 131 deletions

View File

@@ -146,7 +146,7 @@ void Web_server_init() {
});
// ------------------Выполнение команды из запроса
server.on("/cmd", HTTP_GET, [](AsyncWebServerRequest * request) { //http://192.168.88.45/cmd?command=rel 1 1
server.on("/cmd", HTTP_GET, [](AsyncWebServerRequest * request) { //http://192.168.88.45/cmd?command=rel%201%201
String com = request->getParam("command")->value();
Serial.println(com);
order_loop += com + ",";