wifi.ino 286 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 #include "wifi.h" void setup_wifi() { WiFi.mode(WIFI_STA); WiFi.begin(ssid, password); // Wait for connection while (WiFi.status() != WL_CONNECTED) { Serial.println("delay"); delay(500); } if (MDNS.begin(host)) { Serial.println("MDNS responder started"); } }