1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00

Added Check shield present on wifi examples

This commit is contained in:
Mimmo La Fauci
2012-05-30 09:07:38 +02:00
parent 910111abc6
commit bc088b6e84
7 changed files with 29 additions and 5 deletions

View File

@ -59,6 +59,10 @@ void setup() {
Serial.print("Attempting to connect to SSID: ");
Serial.println(ssid);
status = WiFi.begin(ssid, pass);
if ( status != WL_CONNECTED) {
Serial.println("Couldn't get a wifi connection");
while(true);
}
// wait 10 seconds for connection:
delay(10000);
}