Rev 1085 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | ingob | 1 | |
2 | #define TIMER_TEILER CK8 |
||
3 | #define TIMER_RELOAD_VALUE 250 |
||
1036 | hbuss | 4 | #define HEF4017R_ON PORTC ^= (1<<PORTC6) |
5 | #define HEF4017R_OFF PORTC &= ~(1<<PORTC6) |
||
1 | ingob | 6 | |
1086 | salvo | 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 |
||
13 | |||
1 | ingob | 14 | void Timer_Init(void); |
15 | void Delay_ms(unsigned int); |
||
395 | hbuss | 16 | void Delay_ms_Mess(unsigned int); |
1 | ingob | 17 | unsigned int SetDelay (unsigned int t); |
18 | char CheckDelay (unsigned int t); |
||
19 | |||
20 | extern volatile unsigned int CountMilliseconds; |
||
21 | extern volatile unsigned char UpdateMotor; |
||
22 | extern volatile unsigned int beeptime; |
||
23 | extern volatile unsigned int cntKompass; |
||
910 | hbuss | 24 | extern unsigned int ServoValue; |
173 | holgerb | 25 | extern unsigned int BeepMuster; |
823 | ingob | 26 | extern volatile unsigned char SendSPI; |
1086 | salvo | 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 |