Rev 2346 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2346 | Rev 2386 | ||
---|---|---|---|
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 HEF4017Reset_ON PORTC |= (1<<PORTC6) |
4 | #define HEF4017Reset_ON PORTC |= (1<<PORTC6) |
5 | #define HEF4017Reset_OFF PORTC &= ~(1<<PORTC6) |
5 | #define HEF4017Reset_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 | void CalculateServo(void); |
14 | void CalcNickServoValue(void); |
14 | void CalcNickServoValue(void); |
15 | 15 | ||
16 | extern volatile unsigned int CountMilliseconds; |
16 | extern volatile unsigned int CountMilliseconds; |
17 | extern volatile unsigned char UpdateMotor; |
17 | extern volatile unsigned char UpdateMotor; |
18 | extern volatile unsigned int beeptime; |
18 | extern volatile unsigned int beeptime; |
19 | extern volatile unsigned int cntKompass; |
19 | extern volatile unsigned int cntKompass; |
20 | extern unsigned int BeepMuster; |
20 | extern unsigned int BeepMuster; |
21 | extern volatile unsigned char SendSPI, ServoActive, CalculateServoSignals; |
21 | extern volatile unsigned char BytegapSPI, ServoActive, CalculateServoSignals; |
22 | extern volatile int16_t ServoNickValue; |
22 | extern volatile int16_t ServoNickValue; |
23 | extern volatile int16_t ServoRollValue; |
23 | extern volatile int16_t ServoRollValue; |
24 | extern signed int NickServoValue; |
24 | extern signed int NickServoValue; |
25 | extern unsigned char JustMK3MagConnected; |
25 | extern unsigned char JustMK3MagConnected; |
26 | 26 |