Rev 671 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 671 | Rev 674 | ||
---|---|---|---|
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 | 4 | ||
5 | // Salvo Kompassoffset 24.12.2007 *********** |
5 | // Salvo Kompassoffset 24.12.2007 *********** |
6 | //#define KOMPASS_OFFSET 135// Winkel zwischen Nordachse Kopter und Nordachse Kompass |
6 | #define KOMPASS_OFFSET 135// Winkel zwischen Nordachse Kopter und Nordachse Kompass |
7 | #define KOMPASS_OFFSET 0 // Winkel zwischen Nordachse Kopter und Nordachse Kompass |
7 | //#define KOMPASS_OFFSET 0 // Winkel zwischen Nordachse Kopter und Nordachse Kompass |
8 | // Wenn 0 wird der UserParameter4 fuer den Offset verwendet (0..360 Grad entspricht 0 ..180) |
8 | // Wenn 0 wird der UserParameter4 fuer den Offset verwendet (0..360 Grad entspricht 0 ..180) |
9 | // Salvo End |
9 | // Salvo End |
10 | 10 | ||
11 | void Timer_Init(void); |
11 | void Timer_Init(void); |
12 | void Delay_ms(unsigned int); |
12 | void Delay_ms(unsigned int); |
13 | void Delay_ms_Mess(unsigned int); |
13 | void Delay_ms_Mess(unsigned int); |
14 | unsigned int SetDelay (unsigned int t); |
14 | unsigned int SetDelay (unsigned int t); |
15 | char CheckDelay (unsigned int t); |
15 | char CheckDelay (unsigned int t); |
16 | 16 | ||
17 | extern volatile unsigned int CountMilliseconds; |
17 | extern volatile unsigned int CountMilliseconds; |
18 | extern volatile unsigned char UpdateMotor; |
18 | extern volatile unsigned char UpdateMotor; |
19 | extern volatile unsigned int beeptime; |
19 | extern volatile unsigned int beeptime; |
20 | extern volatile unsigned int cntKompass; |
20 | extern volatile unsigned int cntKompass; |
21 | extern int ServoValue; |
21 | extern int ServoValue; |
22 | extern unsigned int BeepMuster; |
22 | extern unsigned int BeepMuster; |
23 | 23 | ||
24 | //Salvo 21.9.2007 |
24 | //Salvo 21.9.2007 |
25 | extern volatile uint8_t Kompass_Neuer_Wert; |
25 | extern volatile uint8_t Kompass_Neuer_Wert; |
26 | extern volatile unsigned int Kompass_Value_Old; |
26 | extern volatile unsigned int Kompass_Value_Old; |
27 | extern unsigned short int Kompass_present; |
27 | extern unsigned short int Kompass_present; |
28 | // Salvo End |
28 | // Salvo End |
29 | 29 |