Subversion Repositories FlightCtrl

Rev

Rev 894 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 894 Rev 895
Line 628... Line 628...
628
   if(abs(PPM_in[EE_Parameter.Kanalbelegung[K_ROLL]]) > MaxStickRoll)
628
   if(abs(PPM_in[EE_Parameter.Kanalbelegung[K_ROLL]]) > MaxStickRoll)
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);
-
 
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
 
Line 633... Line 639...
633
 
639
 
634
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
640
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
635
//+ Digitale Steuerung per DubWise
641
//+ Digitale Steuerung per DubWise
636
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
642
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++