Rev 1085 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1085 | Rev 1086 | ||
---|---|---|---|
Line 2... | Line 2... | ||
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) |
Line -... | Line 6... | ||
- | 6 | ||
- | 7 | ||
- | 8 | // Salvo Kompassoffset 24.12.2007 *********** |
|
- | 9 | #define KOMPASS_OFFSET 135// Winkel zwischen Nordachse Kopter und Nordachse Kompass |
|
- | 10 | //#define KOMPASS_OFFSET 0 // Winkel zwischen Nordachse Kopter und Nordachse Kompass |
|
- | 11 | // Wenn 0 wird der UserParameter4 fuer den Offset verwendet (0..360 Grad entspricht 0 ..180) |
|
- | 12 | // Salvo End |
|
6 | 13 | ||
7 | void Timer_Init(void); |
14 | void Timer_Init(void); |
8 | void Delay_ms(unsigned int); |
15 | void Delay_ms(unsigned int); |
9 | void Delay_ms_Mess(unsigned int); |
16 | void Delay_ms_Mess(unsigned int); |
10 | unsigned int SetDelay (unsigned int t); |
17 | unsigned int SetDelay (unsigned int t); |
Line 15... | Line 22... | ||
15 | extern volatile unsigned int beeptime; |
22 | extern volatile unsigned int beeptime; |
16 | extern volatile unsigned int cntKompass; |
23 | extern volatile unsigned int cntKompass; |
17 | extern unsigned int ServoValue; |
24 | extern unsigned int ServoValue; |
18 | extern unsigned int BeepMuster; |
25 | extern unsigned int BeepMuster; |
19 | extern volatile unsigned char SendSPI; |
26 | extern volatile unsigned char SendSPI; |
- | 27 | //Salvo 21.9.2007 |
|
- | 28 | extern volatile uint8_t Kompass_Neuer_Wert; |
|
- | 29 | extern volatile unsigned int Kompass_Value_Old; |
|
- | 30 | extern unsigned short int Kompass_present; |
|
- | 31 | // Salvo End |