Rev 1328 | Rev 2146 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1328 | Rev 1760 | ||
---|---|---|---|
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 TIMER2_Init(void); |
9 | void Delay_ms(unsigned int); |
9 | void Delay_ms(unsigned int); |
10 | void Delay_ms_Mess(unsigned int); |
10 | void Delay_ms_Mess(unsigned int); |
11 | unsigned int SetDelay (unsigned int t); |
11 | unsigned int SetDelay (unsigned int t); |
12 | char CheckDelay (unsigned int t); |
12 | char CheckDelay (unsigned int t); |
- | 13 | void CalculateServo(void); |
|
13 | 14 | ||
14 | extern volatile unsigned int CountMilliseconds; |
15 | extern volatile unsigned int CountMilliseconds; |
15 | extern volatile unsigned char UpdateMotor; |
16 | extern volatile unsigned char UpdateMotor; |
16 | extern volatile unsigned int beeptime; |
17 | extern volatile unsigned int beeptime; |
17 | extern volatile unsigned int cntKompass; |
18 | extern volatile unsigned int cntKompass; |
18 | extern unsigned int BeepMuster; |
19 | extern unsigned int BeepMuster; |
19 | extern volatile unsigned char SendSPI, ServoActive; |
20 | extern volatile unsigned char SendSPI, ServoActive, CalculateServoSignals; |
20 | extern volatile int16_t ServoNickValue; |
21 | extern volatile int16_t ServoNickValue; |
21 | extern volatile int16_t ServoRollValue; |
22 | extern volatile int16_t ServoRollValue; |
22 | 23 |