code/WPILib/CInterfaces/CVictor.cpp
/**
 * Set the PWM value.
 *
 * The PWM value is set using a range of -1.0 to 1.0, appropriately
 * scaling the value for the FPGA.
 *
 * @param channel The PWM channel used for this Victor
 * @param speed The speed value between -1.0 and 1.0 to set.
 */
Set the PWM value.
The PWM value is set using a range of -1.0 to 1.0, appropriately
scaling the value for the FPGA.

@param channel The PWM channel used for this Victor
@param speed The speed value between -1.0 and 1.0 to set.
Set the PWM value . The PWM value is set using a range of - 1 . 0 to 1 . 0 appropriately scaling the value for the FPGA . @param channel The PWM channel used for this Victor @param speed The speed value between - 1 . 0 and 1 . 0 to set .
void SetVictorSpeed(UINT32 channel, float speed)
{
	Victor *victor = (Victor *) AllocatePWM(channel, CreateVictorStatic);
	if (victor) victor->Set(speed);
}
void SetVictorSpeed ( UINT32 channel , float speed ) { Victor * victor = ( Victor * ) AllocatePWM ( channel , CreateVictorStatic ) ; if ( victor ) victor -> Set ( speed ) ; }
Set the PWM value.
Set the PWM value .