Rev 966 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 966 | Rev 972 | ||
---|---|---|---|
Line 80... | Line 80... | ||
80 | RC_Quality = 0.95F * RC_Quality + 0.05F * 100; |
80 | RC_Quality = 0.95F * RC_Quality + 0.05F * 100; |
81 | } |
81 | } |
82 | RC_Quality = MIN(100.F, RC_Quality); |
82 | RC_Quality = MIN(100.F, RC_Quality); |
83 | RCQuality = 100 - (int) RC_Quality; |
83 | RCQuality = 100 - (int) RC_Quality; |
84 | DebugOut.Analog[12] = RCQuality; |
84 | DebugOut.Analog[12] = RCQuality; |
85 | index++; |
85 | index++; |
- | 86 | /* |
|
86 | if(index == 5) PORTD |= 0x20; else PORTD &= ~0x20; // Servosignal an J3 anlegen |
87 | if(index == 5) PORTD |= 0x20; else PORTD &= ~0x20; // Servosignal an J3 anlegen |
87 | if(index == 6) PORTD |= 0x10; else PORTD &= ~0x10; // Servosignal an J4 anlegen |
88 | if(index == 6) PORTD |= 0x10; else PORTD &= ~0x10; // Servosignal an J4 anlegen |
88 | if(index == 7) PORTD |= 0x08; else PORTD &= ~0x08; // Servosignal an J5 anlegen |
89 | if(index == 7) PORTD |= 0x08; else PORTD &= ~0x08; // Servosignal an J5 anlegen |
- | 90 | */ |
|
89 | } |
91 | } |
90 | } |
92 | } |
91 | } |
93 | } |