diff --git a/src/main.cpp b/src/main.cpp index c868054..4a5be4f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -175,6 +175,13 @@ void wifiConnect() { wifiMulti.addAP(WIFI_SSID2, WIFI_PASSWD2); wifiMulti.addAP(WIFI_SSID3, WIFI_PASSWD3); + Serial.println(WIFI_SSID); + Serial.println(WIFI_PASSWD); + Serial.println(WIFI_SSID2); + Serial.println(WIFI_PASSWD2); + Serial.println(WIFI_SSID3); + Serial.println(WIFI_PASSWD3); + IPAddress ip = IPAddress(network.ip); IPAddress dns = IPAddress(network.dns); IPAddress subnet = IPAddress(network.subnet); @@ -476,9 +483,17 @@ void displayValues() { // Title display.setCursor(30,y_offset+0); - display.println(timeStr); + display.print(timeStr); display.drawLine(0,y_offset+10,display.width(), y_offset+10, GxEPD_BLACK); + // Status + display.setCursor(190,y_offset+0); + if(WiFi.status() == WL_CONNECTED) { + display.print("W"); + } else { + display.print("_"); + } + // Temp display.drawRect(0,y_offset+10,64,50,GxEPD_BLACK); display.setFont(NULL);