Rev 1171 | Rev 1328 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1171 | Rev 1211 | ||
---|---|---|---|
1 | 1 | ||
2 | #define TIMER_TEILER CK8 |
2 | #define TIMER_TEILER CK8 |
3 | #define TIMER_RELOAD_VALUE 250 |
3 | #define TIMER_RELOAD_VALUE 250 |
4 | #define HEF4017R_ON PORTC |= (1<<PORTC6) |
4 | #define HEF4017R_ON PORTC |= (1<<PORTC6) |
5 | #define HEF4017R_OFF PORTC &= ~(1<<PORTC6) |
5 | #define HEF4017R_OFF PORTC &= ~(1<<PORTC6) |
6 | 6 | ||
7 | void Timer_Init(void); |
7 | void Timer_Init(void); |
- | 8 | void TIMER2_Init(void); |
|
8 | void Delay_ms(unsigned int); |
9 | void Delay_ms(unsigned int); |
9 | void Delay_ms_Mess(unsigned int); |
10 | void Delay_ms_Mess(unsigned int); |
10 | unsigned int SetDelay (unsigned int t); |
11 | unsigned int SetDelay (unsigned int t); |
11 | char CheckDelay (unsigned int t); |
12 | char CheckDelay (unsigned int t); |
12 | 13 | ||
13 | extern volatile unsigned int CountMilliseconds; |
14 | extern volatile unsigned int CountMilliseconds; |
14 | extern volatile unsigned char UpdateMotor; |
15 | extern volatile unsigned char UpdateMotor; |
15 | extern volatile unsigned int beeptime; |
16 | extern volatile unsigned int beeptime; |
16 | extern volatile unsigned int cntKompass; |
17 | extern volatile unsigned int cntKompass; |
17 | extern int ServoValue; |
18 | extern int ServoValue; |
18 | extern unsigned int BeepMuster; |
19 | extern unsigned int BeepMuster; |
19 | extern volatile unsigned char SendSPI, ServoActive; |
20 | extern volatile unsigned char SendSPI, ServoActive; |
20 | 21 |