Rev 685 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 685 | Rev 687 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | // + only for non-profit use |
6 | // + only for non-profit use |
7 | // + www.MikroKopter.com |
7 | // + www.MikroKopter.com |
8 | // + see the File "License.txt" for further Informations |
8 | // + see the File "License.txt" for further Informations |
9 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
9 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
Line -... | Line 10... | ||
- | 10 | ||
10 | 11 | #include <stdlib.h> |
|
11 | #include <avr/io.h> |
12 | #include <avr/io.h> |
Line 12... | Line 13... | ||
12 | #include <avr/interrupt.h> |
13 | #include <avr/interrupt.h> |
13 | 14 | ||
Line 14... | Line 15... | ||
14 | #include "rc.h" |
15 | #include "rc.h" |
15 | #include "fc.h" |
16 | #include "fc.h" |
16 | 17 | ||
17 | volatile int PPM_in[11]; |
18 | volatile int16_t PPM_in[11]; |
18 | volatile int PPM_diff[11]; // das diffenzierte Stick-Signal |
19 | volatile int16_t PPM_diff[11]; // das diffenzierte Stick-Signal |
19 | volatile unsigned char NewPpmData = 1; |
20 | volatile uint8_t NewPpmData = 1; |
20 | 21 | ||
- | 22 | /***************************************************************/ |
|
- | 23 | /* zum decodieren des PPM-Signals wird Timer1 mit seiner Input */ |
|
21 | //############################################################################ |
24 | /* Capture Funktion benutzt: */ |
22 | //zum decodieren des PPM-Signals wird Timer1 mit seiner Input |
- | |
23 | //Capture Funktion benutzt: |
25 | /***************************************************************/ |
24 | void rc_sum_init (void) |
26 | |
Line 25... | Line 27... | ||
25 | //############################################################################ |
27 | void rc_sum_init (void) |
26 | { |
28 | { |