Another fix
This commit is contained in:
parent
203f61c36e
commit
f87a6eb1ad
|
@ -20,13 +20,15 @@ void setup()
|
||||||
// Make sure that WiFi is supported
|
// Make sure that WiFi is supported
|
||||||
|
|
||||||
Serial.println("Beginning connection sequence.");
|
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)
|
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
|
// Wait 10 seconds for the connection to start
|
||||||
delay(10000);
|
delay(10000);
|
Loading…
Reference in New Issue