Setup and test the Adafruit HUZZAH ESP8266 Wi Fi SOC. Sets SSID and PASSWORD and prints status messages. For use on mbed LPC1768. See https://developer.mbed.org/users/ausdong/notebook/using-the-adafruit-huzzah-esp8266-to-add-wi-fi-to-/
Fork of ESP8266-configuration-mbed-LPC1768 by
Diff: main.cpp
- Revision:
- 1:4a9cc6d8c33d
- Parent:
- 0:5ebf44bd3694
- Child:
- 2:c5515c7eba46
diff -r 5ebf44bd3694 -r 4a9cc6d8c33d main.cpp --- a/main.cpp Tue Feb 10 16:28:26 2015 +0000 +++ b/main.cpp Tue Feb 10 16:35:26 2015 +0000 @@ -9,8 +9,8 @@ char buf[1024]; char snd[255]; -char ssid[32] = "NETGEAR21"; // enter router ssid inside the quotes -char pwd [32] = "PANASONIC"; // enter router password inside the quotes +char ssid[32] = "ssid"; // enter router ssid inside the quotes +char pwd [32] = "password"; // enter router password inside the quotes void SendCMD(),getreply(),ESPconfig(),ESPsetbaudrate();