code/WPILib/CInterfaces/CServo.cpp
/**
 * Get the maximum servo angle.
 *
 * @param slot The slot the digital module is plugged into
 * @param channel The PWM port in the module the servo is plugged into
 */
Get the maximum servo angle.
@param slot The slot the digital module is plugged into
@param channel The PWM port in the module the servo is plugged into
Get the maximum servo angle . @param slot The slot the digital module is plugged into @param channel The PWM port in the module the servo is plugged into
float GetServoMaxAngle(UINT32 slot, UINT32 channel)
{
	Servo *servo = (Servo *) AllocatePWM(slot, channel, CreateServoStatic);
	return servo->GetMaxAngle();
}
float GetServoMaxAngle ( UINT32 slot , UINT32 channel ) { Servo * servo = ( Servo * ) AllocatePWM ( slot , channel , CreateServoStatic ) ; return servo -> GetMaxAngle ( ) ; }
Get the maximum servo angle.
Get the maximum servo angle .