Setup and test the ESP8266 Wi Fi SOC from Sparkfun. Sets SSID and PASSWORD and prints status messages. For use on mbed LPC1768. Also reports IP and MAC address. See https://developer.mbed.org/users/4180_1/notebook/using-the-esp8266-with-the-mbed-lpc1768/
Fork of ESP8266-configuaration-baudrate by
Diff: main.cpp
- Revision:
- 1:4a9cc6d8c33d
- Parent:
- 0:5ebf44bd3694
- Child:
- 2:c5515c7eba46
--- 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();