Rev 1377 | Rev 2008 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | ingob | 1 | /*####################################################################################### |
2 | Derkodieren eines RC Summen Signals |
||
3 | #######################################################################################*/ |
||
4 | |||
5 | #ifndef _RC_H |
||
6 | #define _RC_H |
||
7 | |||
8 | #if defined (__AVR_ATmega32__) |
||
9 | #define TIMER_TEILER CK64 |
||
10 | #define TIMER_RELOAD_VALUE 250 |
||
11 | #endif |
||
12 | |||
13 | #if defined (__AVR_ATmega644__) |
||
14 | #define TIMER_RELOAD_VALUE 250 |
||
15 | #endif |
||
16 | |||
1171 | hbuss | 17 | #if defined (__AVR_ATmega644P__) |
18 | #define TIMER_RELOAD_VALUE 250 |
||
19 | #endif |
||
20 | |||
1 | ingob | 21 | #define GAS PPM_in[2] |
22 | |||
23 | |||
24 | extern void rc_sum_init (void); |
||
25 | |||
1377 | hbuss | 26 | extern volatile int PPM_in[26]; |
27 | extern volatile int PPM_diff[26]; // das diffenzierte Stick-Signal |
||
1 | ingob | 28 | extern volatile unsigned char NewPpmData; |
1268 | hbuss | 29 | extern volatile char Channels,tmpChannels; |
1933 | holgerb | 30 | extern unsigned int PPM_Neutral; |
1 | ingob | 31 | |
32 | #endif //_RC_H |