Rev 2183 |
Rev 2341 |
Go to most recent revision |
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
extern void rc_sum_init (void);
extern volatile int PPM_in[26+4];
extern volatile int PPM_diff[26+4]; // das diffenzierte Stick-Signal
extern volatile unsigned char NewPpmData;
extern volatile char Channels,tmpChannels;
extern unsigned int PPM_Neutral;
// 0 -> frei bzw. ACT rssi
// 1 - 16 -> 1-16
// 17 - 28 -> 12 Serial channels
// 29 -> WP-Event kanal
#define SERIAL_POTI_START 17
#define WP_EVENT_PPM_IN 29
#define FromNC_WP_EventChannel PPM_in[WP_EVENT_PPM_IN] // WP_EVENT-Channel-Value
#endif //_RC_H