a

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

Committer:
rmaran6
Date:
Wed Nov 02 02:02:03 2016 +0000
Revision:
0:2b0c527942db
a

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rmaran6 0:2b0c527942db 1 #include "mbed.h"
rmaran6 0:2b0c527942db 2
rmaran6 0:2b0c527942db 3 class Wifi {
rmaran6 0:2b0c527942db 4 public:
rmaran6 0:2b0c527942db 5 Wifi(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