WS_WIFI.h 584 B

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