WS_WIFI.h 649 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef _WS_WIFI_H_
  2. #define _WS_WIFI_H_
  3. #include <WiFi.h>
  4. #include <WebServer.h>
  5. #include <WiFiClient.h>
  6. #include <WiFiAP.h>
  7. #include "stdio.h"
  8. #include "WS_GPIO.h"
  9. #include "WS_Information.h"
  10. #define WIFI_Mode 3
  11. extern bool Relay_Flag[6]; // Relay current status flag
  12. extern void Relay_Analysis(uint8_t *buf,uint8_t Mode_Flag);
  13. void handleRoot();
  14. void handleGetData();
  15. void handleSwitch(uint8_t ledNumber);
  16. void handleSwitch1();
  17. void handleSwitch2();
  18. void handleSwitch3();
  19. void handleSwitch4();
  20. void handleSwitch5();
  21. void handleSwitch6();
  22. void handleSwitch7();
  23. void handleSwitch8();
  24. void WIFI_Init();
  25. void WIFI_Loop();
  26. #endif