WS_Information.h 1.2 KB

1234567891011121314151617181920212223242526
  1. #ifndef _WS_INFORMATION_H_
  2. #define _WS_INFORMATION_H_
  3. #define Extension_Enable 1 // Whether to extend the connection to external devices 1:Expansion device Modbus RTU Relay 0:No extend
  4. #define RTC_Enable 0 // Whether WIFI is enabled .1:ture 0:false
  5. // The name and password of the WiFi access point
  6. #define STASSID "Waveshare-TL-WR886N_2L"
  7. #define STAPSK "waveshare0755"
  8. // Details about devices on the Waveshare cloud
  9. #define MQTT_Server "mqtt.waveshare.cloud"
  10. #define MQTT_Port 1883
  11. #define MQTT_ID "46ce3503"
  12. #define MQTT_Pub "Pub/59/45/46ce3503"
  13. #define MQTT_Sub "Sub/59/45/46ce3503"
  14. // !!! Timing switch relay, this operation must be connected to the Pico-RTC-DS3231 with the correct time setting,
  15. // RTC_Enable must be set to 1. If no change is required, set RTC_Enable to 0
  16. #define RTC_OPEN_Time_Hour 18 // Time when the timing switch is enabled
  17. #define RTC_OPEN_Time_Min 33 // Time when the timing switch is enabled
  18. #define RTC_Closs_Time_Hour 18 // Time when the timing switch is off
  19. #define RTC_Closs_Time_Min 34 // Time when the timing switch is off
  20. #endif