Chart geht schon fast
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user