Browse Source

debug output

main 0.5.4-test.3
Hendrik Langer 4 years ago
parent
commit
ef656a899d
  1. 17
      src/main.cpp

17
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);

Loading…
Cancel
Save