Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE LSM9DS1_Library_cal SDFileSystem mbed wave_player
Fork of 4180Lab_4 by
Diff: Wifi.h
- Revision:
- 0:2b0c527942db
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Wifi.h Wed Nov 02 02:02:03 2016 +0000
@@ -0,0 +1,26 @@
+#include "mbed.h"
+
+class Wifi {
+ public:
+ Wifi(PinName tx, PinName rx, PinName rst)
+ void ESPsetbaudrate();
+ void ESPconfig();
+ void SendCMD();
+ void getreply();
+ void setupPage();
+ public:
+ int count,ended,timeout;
+ char buf[2024];
+ char snd[1024];
+ char ssid[32];// = "GTother"; // enter WiFi router ssid inside the quotes
+ char pwd [32];// = "GeorgeP@1927"; // enter WiFi router password inside the quotes
+ protected:
+ Serial esp;
+ Timer t;
+ DigitalOut reset;
+ DigitalOut led1;
+ DigitalOut led2;
+ DigitalOut led3;
+ DigitalOut led4;
+}
+
