code/WPILib/CInterfaces/CServo.cpp
/**
 * Set the servo position.
 *
 * Servo values range from 0.0 to 1.0 corresponding to the range of full left to full right.
 *
 * @param channel The PWM port in the module the servo is plugged into
 * @param value Position from 0.0 to 1.0.
 */
Set the servo position.
Servo values range from 0.0 to 1.0 corresponding to the range of full left to full right.

@param channel The PWM port in the module the servo is plugged into
@param value Position from 0.0 to 1.0.
Set the servo position . Servo values range from 0 . 0 to 1 . 0 corresponding to the range of full left to full right . @param channel The PWM port in the module the servo is plugged into @param value Position from 0 . 0 to 1 . 0 .
void SetServo(UINT32 channel, float value)
{
	Servo *servo = (Servo *) AllocatePWM(channel, CreateServoStatic);
	servo->Set(value);
}
void SetServo ( UINT32 channel , float value ) { Servo * servo = ( Servo * ) AllocatePWM ( channel , CreateServoStatic ) ; servo -> Set ( value ) ; }
Set the servo position.
Set the servo position .