Using wifi module on mbed

Dependencies:   mbed

Fork of huzzah_helloWorld by ECE 4180 Team Who

Files at this revision

API Documentation at this revision

Comitter:
wschon
Date:
Sat Feb 13 19:50:08 2016 +0000
Parent:
0:57cec3469a80
Commit message:
Wifi demo

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 57cec3469a80 -r d08473d08cce main.cpp
--- 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);