+#include <DNSServer.h>
 #include <ESP8266WiFi.h>
+#include <ESP8266WebServer.h>
 #include <WiFiClient.h>
-#include <ESP8266WebServer.h>
-#include <EEPROM.h>
- 
+
+#define DNS_PORT 53
+#define led 2
+
+IPAddress apIP(192, 168, 4, 1);
+IPAddress mask(255, 255, 255, 0);
+DNSServer dnsServer;
 ESP8266WebServer server(80);
-const int led = 2;
 
 const char page[] PROGMEM = R"~(
 <!DOCTYPE html>

  pinMode(led, OUTPUT);
  digitalWrite(led, 0);

  WiFi.softAP("LogobotBlue", "logobot1");
  WiFi.mode(WIFI_AP);
  
  server.on("/", handleRoot);
  server.on("/cmd", handleCommand);

    // Send command
    Serial.println(cmd);

    // Wait a max of 200ms for a repsonse
    Serial.setTimeout(200);
    String response = Serial.readStringUntil('\n');

    server.send(200, F("text/plain"), response);
