Subversion Repositories FlightCtrl

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
662 salvo 1
 
2
#define TIMER_TEILER        CK8
3
#define TIMER_RELOAD_VALUE  250
4
 
5
// Salvo Kompassoffset 24.12.2007 ***********
705 salvo 6
#define KOMPASS_OFFSET 135// Winkel zwischen Nordachse Kopter und Nordachse Kompass
7
//#define KOMPASS_OFFSET 0   // Winkel zwischen Nordachse Kopter und Nordachse Kompass
662 salvo 8
// Wenn 0 wird der UserParameter4  fuer den Offset verwendet (0..360 Grad entspricht 0 ..180)
9
// Salvo End  
10
 
11
void Timer_Init(void);
12
void Delay_ms(unsigned int);
13
void Delay_ms_Mess(unsigned int);
14
unsigned int SetDelay (unsigned int t);
15
char CheckDelay (unsigned int t);
16
 
17
extern volatile unsigned int CountMilliseconds;
18
extern volatile unsigned char UpdateMotor;
19
extern volatile unsigned int beeptime;
20
extern volatile unsigned int cntKompass;
21
extern int ServoValue;
22
extern unsigned int BeepMuster;
23
 
24
//Salvo 21.9.2007
25
extern volatile uint8_t Kompass_Neuer_Wert;
26
extern volatile unsigned int Kompass_Value_Old;
27
extern unsigned short int Kompass_present;
28
// Salvo End