Browse Source

Another fix

master
Starbeamrainbowlabs 5 years ago
parent
commit
f87a6eb1ad
  1. 10
      WiFiConnection/WiFiConnection.ino

10
WiFiConnection/WiFiConnection.ino

@ -20,13 +20,15 @@ void setup()
// Make sure that WiFi is supported
Serial.println("Beginning connection sequence.");
Serial.print("Attempting to connect to ");
Serial.print(" - ");
Serial.print(ssid);
WiFi.begin(ssid, password);
while(WiFi.status() != WL_CONNECTED)
{
Serial.print("Attempting to connect to ");
Serial.print(ssid);
Serial.print(" - ");
WiFi.begin(ssid, password);
// Wait 10 seconds for the connection to start
delay(10000);

Loading…
Cancel
Save