wifi

Dependencies:   mbed

Fork of ESP8266-configuration-mbed-LPC1768 by jim hamblen

Revision:
5:9f46b8cdd469
Parent:
4:f40e7eb1ba1e
Child:
6:3dcdb8471df1
diff -r f40e7eb1ba1e -r 9f46b8cdd469 main.cpp
--- a/main.cpp	Fri Aug 28 01:12:23 2015 +0000
+++ b/main.cpp	Fri Aug 28 01:21:15 2015 +0000
@@ -9,8 +9,8 @@
 char buf[1024];
 char snd[255];
 
-char ssid[32] = "ATT864";     // enter WiFi router ssid inside the quotes
-char pwd [32] = "2419932397"; // enter WiFi router password inside the quotes
+char ssid[32] = "mySSID";     // enter WiFi router ssid inside the quotes
+char pwd [32] = "myPASSWORD"; // enter WiFi router password inside the quotes
 
 void SendCMD(),getreply(),ESPconfig(),ESPsetbaudrate();
 
@@ -156,7 +156,7 @@
 
     pc.printf("\n\n\n  If you get a valid (non zero) IP, ESP8266 has been set up.\r\n");
     pc.printf("  Run this if you want to reconfig the ESP8266 at any time.\r\n");
-    pc.printf("  It saves the SSID and password settings internally\r\n");_
+    pc.printf("  It saves the SSID and password settings internally\r\n");
     wait(10);
 }