Lab 2 Part 15

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
glanier9
Date:
Thu Feb 11 16:51:33 2021 +0000
Parent:
1:4d01a46f2b09
Commit message:
Final with Name change;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Feb 11 16:10:17 2021 +0000
+++ b/main.cpp	Thu Feb 11 16:51:33 2021 +0000
@@ -11,8 +11,8 @@
 char buf[2024];
 char snd[1024];
  
-char ssid[32] = "AndroidHotspot0709";     // enter WiFi router ssid inside the quotes
-char pwd [32] = "123456789"; // enter WiFi router password inside the quotes
+char ssid[32] = "birdandlake";     // enter WiFi router ssid inside the quotes
+char pwd [32] = "FinallyHere3740!"; // 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 Greg and Aaron, NodeMcu.</h1>\")\r\n");
       SendCMD();
         wait(1);