1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

added firmware version check to WiFi shield examples

This commit is contained in:
Fede85
2013-07-19 16:34:44 +02:00
parent fd7e9c6d90
commit d1717e92da
13 changed files with 53 additions and 1 deletions

View File

@ -30,6 +30,10 @@ void setup() {
// don't continue:
while(true);
}
String fv = WiFi.firmwareVersion();
if( fv != "1.1.0" )
Serial.println("Please upgrade the firmware");
// attempt to connect to Wifi network:
while ( status != WL_CONNECTED) {