1234567891011121314151617181920212223242526272829303132 |
- #pragma once
- #ifndef _CLOCK_H
- #define _CLOCK_H
- #include "main.h"
- #define FADE_START 0
- #define FADE_STOP 15
- #define FADE_STEP 1
- #define BTN_SCAN_PERIOD 10
- #define BTN_SCAN_PAUSE 200
- #define BTN_TIME_PRESSED 30
- #define BTN_TIME_HOLDED 500
- #define BTN_TIME_REPEATED 50
- #define DISP_WDT_TIME 10
- extern rtc_t Clock;
- void btnProcess(void);
- void new_Second(void);
- #endif
|