From dd76444dc7dc39b9fc81fa081fe0a6f98e47a2ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0?= Date: Wed, 30 May 2018 12:45:44 +0300 Subject: [PATCH] new ip -> 2.2.2.2 to get rid of conflicts with 192.168.1.1 --- src/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 5f074c1..c8c57da 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -167,10 +167,9 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t * payload, size_t length } - void setup(void) { - IPAddress apIP(192, 168, 1, 1); + IPAddress apIP(2, 2, 2, 2); Serial.begin(115200); Serial.setDebugOutput(true); Serial.println(); @@ -184,7 +183,7 @@ void setup(void) server.on("/accelerometer", handleAccelerometer); server.on("/", []() { - server.send(200, "text/html", "Main Page"); + server.send(200, "text/html", "Main Page"); }); server.onNotFound(handleNotFound);