Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2283 | - | 1 | /*####################################################################################### |
2 | Derkodieren eines RC Summen Signals |
||
3 | #######################################################################################*/ |
||
4 | |||
5 | #ifndef _RC_H |
||
6 | #define _RC_H |
||
7 | |||
8 | #if defined (__AVR_ATmega644__) |
||
9 | #define TIMER_RELOAD_VALUE 250 |
||
10 | #endif |
||
11 | |||
12 | #if defined (__AVR_ATmega644P__) |
||
13 | #define TIMER_RELOAD_VALUE 250 |
||
14 | #endif |
||
15 | |||
16 | #define GAS PPM_in[2] |
||
17 | #define FromNC_WP_EventChannel PPM_in[25] // WP_EVENT-Channel-Value |
||
18 | |||
19 | extern void rc_sum_init (void); |
||
20 | |||
21 | extern volatile int PPM_in[26]; |
||
22 | extern volatile int PPM_diff[26]; // das diffenzierte Stick-Signal |
||
23 | extern volatile unsigned char NewPpmData; |
||
24 | extern volatile char Channels,tmpChannels; |
||
25 | extern unsigned int PPM_Neutral; |
||
26 | |||
27 | #endif //_RC_H |