Rev 2248 |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
//-------------------------------------------------------------------------------------------------------------------------------------
// rc.c
//-------------------------------------------------------------------------------------------------------------------------------------
#ifndef _RC_H
#define _RC_H
#if defined (__AVR_ATmega644__)
#define TIMER_RELOAD_VALUE 250
#endif
#if defined (__AVR_ATmega644P__)
#define TIMER_RELOAD_VALUE 250
#endif
#define GAS PPM_in[2]
extern void rc_sum_init (void);
extern volatile int PPM_in[11]; // das Fernsteuer-Summensignal - decodiert // PPM_in[1] = Gas // PPM_in[2] = Roll // PPM_in[3] = Nick // PPM_in[4] = Gier
extern volatile int PPM_diff[11]; // das diffenzierte Stick-Signal
extern volatile unsigned char NewPpmData;
extern volatile char Channels,tmpChannels;
#endif //_RC_H
//-------------------------------------------------------------------------------------------------------------------------------------