Subversion Repositories FlightCtrl

Rev

Rev 1002 | Blame | Compare with Previous | Last modification | View Log | RSS feed


#define TIMER_TEILER        CK8
#define TIMER_RELOAD_VALUE  250

// Salvo Kompassoffset 24.12.2007 ***********
#define KOMPASS_OFFSET 135// Winkel zwischen Nordachse Kopter und Nordachse Kompass
//#define KOMPASS_OFFSET 0   // Winkel zwischen Nordachse Kopter und Nordachse Kompass
// Wenn 0 wird der UserParameter4  fuer den Offset verwendet (0..360 Grad entspricht 0 ..180)
// Salvo End  

void Timer_Init(void);
void Delay_ms(unsigned int);
void Delay_ms_Mess(unsigned int);
unsigned int SetDelay (unsigned int t);
char CheckDelay (unsigned int t);

extern volatile unsigned int CountMilliseconds;
extern volatile unsigned char UpdateMotor;
extern volatile unsigned int beeptime;
extern volatile unsigned int cntKompass;
extern unsigned int ServoValue;
extern unsigned int BeepMuster;
extern volatile unsigned char SendSPI;
//Salvo 21.9.2007
extern volatile uint8_t Kompass_Neuer_Wert;
extern volatile unsigned int Kompass_Value_Old;
extern unsigned short int Kompass_present;
// Salvo End