You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
341 B

3 years ago
3 years ago
3 years ago
3 years ago
  1. #pragma once
  2. #define VERSION "1.0"
  3. #define KEY_PERIOD 5
  4. #define EXCEPTION_CHECK_PERIOD 50
  5. //自动关机时,一个灯等效的时间
  6. #define AUTO_SHUTDOWN_ONE_LIGHT_EQ_TIME_S 20
  7. //间歇工作周期
  8. #define INTERVAL_WORK_PERIOD_MS (60 * 1000)
  9. //间歇工作工作时间占整个周期的百分比
  10. #define INTERVAL_WORK_DUTY ((uint8_t)50)