Rev 419 | Rev 604 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 419 | Rev 513 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | 47 | ||
48 | signal = (unsigned int) ICR1 - AltICR; |
48 | signal = (unsigned int) ICR1 - AltICR; |
Line 49... | Line 49... | ||
49 | AltICR = ICR1; |
49 | AltICR = ICR1; |
- | 50 | ||
50 | 51 | //Syncronisationspause? |
|
51 | //Syncronisationspause? |
52 | // if((signal > (int) Parameter_UserParam2 * 10) && (signal < 8000)) |
- | 53 | if((signal > 1100) && (signal < 8000)) |
|
52 | if ((signal > 1500) && (signal < 8000)) |
54 | { |
53 | { |
- | |
54 | index = 1; |
- | |
55 | NewPpmData = 0; // Null bedeutet: Neue Daten |
- | |
56 | // OCR2A = Poti2/2 + 80; |
55 | if(index >= 4) NewPpmData = 0; // Null bedeutet: Neue Daten |
57 | 56 | index = 1; |
|
58 | } |
57 | } |
59 | else |
58 | else |
60 | { |
59 | { |