Rev 894 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 894 | Rev 895 | ||
---|---|---|---|
Line 629... | Line 629... | ||
629 | MaxStickRoll = abs(PPM_in[EE_Parameter.Kanalbelegung[K_ROLL]]); else MaxStickRoll--; |
629 | MaxStickRoll = abs(PPM_in[EE_Parameter.Kanalbelegung[K_ROLL]]); else MaxStickRoll--; |
630 | */ |
630 | */ |
631 | GyroFaktor = ((float)Parameter_Gyro_P + 10.0) / (256.0/STICK_GAIN); |
631 | GyroFaktor = ((float)Parameter_Gyro_P + 10.0) / (256.0/STICK_GAIN); |
632 | IntegralFaktor = ((float) Parameter_Gyro_I) / (44000 / STICK_GAIN); |
632 | IntegralFaktor = ((float) Parameter_Gyro_I) / (44000 / STICK_GAIN); |
Line -... | Line 633... | ||
- | 633 | ||
- | 634 | // [Harrie:] switch output J16 (PortC output2 on ATMEGA): |
|
- | 635 | if(PPM_in[EE_Parameter.Kanalbelegung[K_POTI2]] > 75) J16_ON; else J16_OFF; |
|
- | 636 | // [Harrie:] switch output J17 (PortC output3 on ATMEGA) (PC3 output on ATMEGA): |
|
- | 637 | if(PPM_in[EE_Parameter.Kanalbelegung[K_POTI3]] > 75) J17_ON; else J17_OFF; |
|
- | 638 | ||
633 | 639 | ||
634 | //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
640 | //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
635 | //+ Digitale Steuerung per DubWise |
641 | //+ Digitale Steuerung per DubWise |
636 | //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
642 | //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
637 | #define KEY_VALUE (Parameter_UserParam8 * 4) //(Poti3 * 8) |
643 | #define KEY_VALUE (Parameter_UserParam8 * 4) //(Poti3 * 8) |