You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// the loop function runs over and over again until power down or reset
void loop() {
Serial.print("For testing wifi we can always just ping the gateway");
if (ping_start(WiFi.gatewayIP(), 4, 0, 0, 5))
Serial.println("OK");
else
Serial.println("FAILED");
delay(10000);
}
The text was updated successfully, but these errors were encountered:
void setup() {
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.print("We got IP: ");
Serial.println(WiFi.localIP());
Serial.print("And gateway: ");
Serial.println(WiFi.gatewayIP());
}
// the loop function runs over and over again until power down or reset
void loop() {
Serial.print("For testing wifi we can always just ping the gateway");
if (ping_start(WiFi.gatewayIP(), 4, 0, 0, 5))
Serial.println("OK");
else
Serial.println("FAILED");
delay(10000);
}
The text was updated successfully, but these errors were encountered: