3,7 → 3,8 |
------------------------------------------------------------------------------------------------------------------ |
Version includes only support for external HEF4017 for FC1.x hardware, NOT for Twi2Ppm converters for ESCs. |
|
2010-12-18 Transferred changes to v.0.82b-Arthur-P |
2010-12-18 Transferred changes to v.0.82b-Arthur-P and chande the if(Platinenversion < 20) statement in the |
new servocontrol calculating routine to correctly identify external HEF4017. |
20100917: Transferred changes to v0.80g-Arthur-P. |
Arthur P. Modified to use several parameters for servo control: |
User_Parameter4: |
273,7 → 274,27 |
{ |
ServoNickValue = (int16_t)EE_Parameter.ServoNickMax * MULTIPLYER; |
} |
if(PlatinenVersion < 20) CalculateServoSignals = 0; else CalculateServoSignals++; |
/****************************************************************************************************************** |
Arthur P: Modified the code to check the value of parameter 8. If 128 or higher then a HEF4017 is |
expected and will be used. Else J7 and J9 are seen as separate normal outputs. |
if((PlatinenVersion < 20) |
20100802 Inserted changes into v.0.80d code. This function did not exist prior to v.082. Without |
the changes the roll servo does not work, while shutter and nick servo output do work. |
******************************************************************************************************************/ |
|
// if(PlatinenVersion < 20) |
|
if((PlatinenVersion < 20) && (Parameter_UserParam8 < 128 )) |
/****************************************************************************************************************** |
Arthur P: End of modification ot if statement. |
******************************************************************************************************************/ |
{ |
CalculateServoSignals = 0; |
} |
else |
{ |
CalculateServoSignals++; |
} |
} |
else |
{ |
390,7 → 411,7 |
case 1: // Nick Compensation Servo |
RemainingPulse += ServoNickValue - (256 / 2) * MULTIPLYER; // shift ServoNickValue to center position |
break; |
case 2: // Roll Compensation Servo |
case 2: // Roll Compensation Servo |
RemainingPulse += ServoRollValue - (256 / 2) * MULTIPLYER; // shift ServoNickValue to center position |
break; |
/****************************************************************************************************************** |