LeeT WiFiLamp code and test
Dependencies: ESP8266_WebServer mbed
Fork of WiFiLamp by
Diff: main.cpp
- Revision:
- 24:849265425708
- Parent:
- 23:3563e1699fb9
- Child:
- 25:841fc9daffa5
diff -r 3563e1699fb9 -r 849265425708 main.cpp --- a/main.cpp Sun Jan 04 12:15:05 2015 +0000 +++ b/main.cpp Mon Jan 05 19:23:20 2015 +0000 @@ -81,8 +81,10 @@ wifiReset = 1; wait_ms(250); pc.printf("Hardware Reset WiFi...\r\n"); + server.ResetModule(); wifiOn = 1; + std::string fwVer = server.GetFirmwareVersion(); pc.printf("ESP Firmware Version: %s\r\n", fwVer.c_str());