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

@ -32,6 +32,10 @@ void setup() {
while(true);
}
String fv = WiFi.firmwareVersion();
if( fv != "1.1.0" )
Serial.println("Please upgrade the firmware");
// Print WiFi MAC address:
printMacAddress();