Wesley Schon
/
ECE4180Lab2_Wifi_HelloWorld
Using wifi module on mbed
Fork of huzzah_helloWorld by
Diff: main.cpp
- Revision:
- 1:d08473d08cce
- Parent:
- 0:57cec3469a80
--- a/main.cpp Thu Oct 22 16:18:21 2015 +0000 +++ b/main.cpp Sat Feb 13 19:50:08 2016 +0000 @@ -11,8 +11,8 @@ char buf[2024]; char snd[1024]; -char ssid[32] = "SwagInABag"; // enter WiFi router ssid inside the quotes -char pwd [32] = "yoloswag"; // enter WiFi router password inside the quotes +char ssid[32] = "wes1993"; // enter WiFi router ssid inside the quotes +char pwd [32] = "npwu1573"; // enter WiFi router password inside the quotes void SendCMD(),getreply(),ESPconfig(),ESPsetbaudrate(); void dev_recv() @@ -189,7 +189,7 @@ SendCMD(); wait(1); - strcpy(snd, "conn:send(\"<h1> Hi James, NodeMcu.</h1>\")\r\n"); + strcpy(snd, "conn:send(\"<h1> Hi Wes, NodeMcu.</h1>\")\r\n"); SendCMD(); wait(1);