Rev 838 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
838 | MikeW | 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_TEILER CK64 |
||
966 | MikeW | 15 | #define TIMER_RELOAD_VALUE 250 |
16 | //#define TIMER_TEILER CK256 // bei 20MHz |
||
17 | //#define TIMER_RELOAD_VALUE -78 // bei 20MHz |
||
838 | MikeW | 18 | #endif |
19 | |||
20 | extern void rc_sum_init (void); |
||
966 | MikeW | 21 | extern int PPM_in[11]; |
838 | MikeW | 22 | extern int PPM_diff[11]; // das diffenzierte Stick-Signal |
966 | MikeW | 23 | extern unsigned char NewPpmData; |
838 | MikeW | 24 | |
25 | #endif //_RC_H |