Rev 2302 |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
/*#######################################################################################
Derkodieren eines RC Summen Signals
#######################################################################################*/
#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]
#define FromNC_WP_EventChannel PPM_in[25] // WP_EVENT-Channel-Value
extern void rc_sum_init (void);
extern volatile int PPM_in[26];
extern volatile int PPM_diff[26]; // das diffenzierte Stick-Signal
extern volatile unsigned char NewPpmData;
extern volatile char Channels,tmpChannels;
extern unsigned int PPM_Neutral;
#endif //_RC_H