Priunsh Nagru / Mbed 2 deprecated 4180Lab_4

Dependencies:   4DGL-uLCD-SE LSM9DS1_Library_cal SDFileSystem mbed wave_player

Fork of 4180Lab_4 by Rahul Maran

Committer:
Priunsh_N
Date:
Wed Nov 02 02:07:34 2016 +0000
Revision:
1:bbd83a3a8372
Parent:
Wifi.h@0:2b0c527942db
Child:
2:c7779da25bdb
gg

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rmaran6 0:2b0c527942db 1 #include "mbed.h"
rmaran6 0:2b0c527942db 2
Priunsh_N 1:bbd83a3a8372 3 class Webpage {
rmaran6 0:2b0c527942db 4 public:
Priunsh_N 1:bbd83a3a8372 5 Webpage(PinName tx, PinName rx, PinName rst)
rmaran6 0:2b0c527942db 6 void ESPsetbaudrate();
rmaran6 0:2b0c527942db 7 void ESPconfig();
rmaran6 0:2b0c527942db 8 void SendCMD();
rmaran6 0:2b0c527942db 9 void getreply();
rmaran6 0:2b0c527942db 10 void setupPage();
rmaran6 0:2b0c527942db 11 public:
rmaran6 0:2b0c527942db 12 int count,ended,timeout;
rmaran6 0:2b0c527942db 13 char buf[2024];
rmaran6 0:2b0c527942db 14 char snd[1024];
rmaran6 0:2b0c527942db 15 char ssid[32];// = "GTother"; // enter WiFi router ssid inside the quotes
rmaran6 0:2b0c527942db 16 char pwd [32];// = "GeorgeP@1927"; // enter WiFi router password inside the quotes
rmaran6 0:2b0c527942db 17 protected:
rmaran6 0:2b0c527942db 18 Serial esp;
rmaran6 0:2b0c527942db 19 Timer t;
rmaran6 0:2b0c527942db 20 DigitalOut reset;
rmaran6 0:2b0c527942db 21 DigitalOut led1;
rmaran6 0:2b0c527942db 22 DigitalOut led2;
rmaran6 0:2b0c527942db 23 DigitalOut led3;
rmaran6 0:2b0c527942db 24 DigitalOut led4;
rmaran6 0:2b0c527942db 25 }
rmaran6 0:2b0c527942db 26