630,7 → 630,13 |
*/ |
GyroFaktor = ((float)Parameter_Gyro_P + 10.0) / (256.0/STICK_GAIN); |
IntegralFaktor = ((float) Parameter_Gyro_I) / (44000 / STICK_GAIN); |
|
// [Harrie:] switch output J16 (PortC output2 on ATMEGA): |
if(PPM_in[EE_Parameter.Kanalbelegung[K_POTI2]] > 75) J16_ON; else J16_OFF; |
// [Harrie:] switch output J17 (PortC output3 on ATMEGA) (PC3 output on ATMEGA): |
if(PPM_in[EE_Parameter.Kanalbelegung[K_POTI3]] > 75) J17_ON; else J17_OFF; |
|
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
//+ Digitale Steuerung per DubWise |
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |