a
Dependencies: 4DGL-uLCD-SE LSM9DS1_Library_cal SDFileSystem mbed-rtos mbed wave_player
Wifi.h
00001 #include "mbed.h" 00002 00003 class Wifi { 00004 public: 00005 Wifi(PinName tx, PinName rx, PinName rst) 00006 void ESPsetbaudrate(); 00007 void ESPconfig(); 00008 void SendCMD(); 00009 void getreply(); 00010 void setupPage(); 00011 public: 00012 int count,ended,timeout; 00013 char buf[2024]; 00014 char snd[1024]; 00015 char ssid[32];// = "GTother"; // enter WiFi router ssid inside the quotes 00016 char pwd [32];// = "GeorgeP@1927"; // enter WiFi router password inside the quotes 00017 protected: 00018 Serial esp; 00019 Timer t; 00020 DigitalOut reset; 00021 DigitalOut led1; 00022 DigitalOut led2; 00023 DigitalOut led3; 00024 DigitalOut led4; 00025 } 00026
Generated on Mon Jul 18 2022 22:47:22 by 1.7.2