Chart geht schon fast

This commit is contained in:
rxf
2024-07-07 15:33:47 +02:00
parent 87eb2a30d4
commit b1be91b52f
6 changed files with 125 additions and 26 deletions

View File

@@ -7,8 +7,15 @@
void connectToWifi() {
Serial.println("Connecting to Wi-Fi...");
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.println("Connecting to WiFi...");
}
Serial.print("Connected to the WiFi with IP: ");
Serial.println(WiFi.localIP());
}
/*
void WiFiEvent(WiFiEvent_t event) {
Serial.printf("[WiFi-event] event: %d\n", event);
switch(event) {
@@ -25,4 +32,4 @@ void WiFiEvent(WiFiEvent_t event) {
break;
}
}
*/