   IPAddress NMask(255, 255, 255, 0);
   WiFi.softAPConfig(Ip, Ip, NMask);
   WiFi.softAP(ssidAP, pwd);
+  DnsServer.setErrorReplyCode(DNSReplyCode::NoError);
+  DnsServer.start(DNS_PORT, "*", Ip);
 
   Serial.println("AP active");
   Serial.print("SSID: ");

  Serial.print("PWD: ");
  Serial.println(pwd);
  Serial.print("visit website under: ");
  Serial.println(Ip);
}

void setupWifiConnect()


    if (startAp)
    {
      WiFi.disconnect(true);
      setupWifiApMode();
    }
    else
