clock.h 362 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #ifndef _CLOCK_H
  3. #define _CLOCK_H
  4. /* Includes */
  5. #include "main.h"
  6. /* macro */
  7. #define FADE_START 0
  8. #define FADE_STOP 15
  9. #define FADE_STEP 1
  10. /* Display timeout, sec */
  11. #define DISP_WDT_TIME 10
  12. /* variables */
  13. extern rtc_t Clock;
  14. /* function prototypes */
  15. void btnProcess(void);
  16. void new_Second(void);
  17. #endif /* _CLOCK_H */