code/WPILib/CInterfaces/CJaguar.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 connected to this speed controller
 * @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 connected to this speed controller
@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 connected to this speed controller @param speed The speed value between - 1 . 0 and 1 . 0 to set .
void SetJaguarSpeed(UINT32 channel, float speed)
{
	Jaguar *jaguar = (Jaguar *) AllocatePWM(SensorBase::GetDefaultDigitalModule(), channel, CreateJaguarStatic);
	if (jaguar) jaguar->Set(speed);
}
void SetJaguarSpeed ( UINT32 channel , float speed ) { Jaguar * jaguar = ( Jaguar * ) AllocatePWM ( SensorBase :: GetDefaultDigitalModule ( ) , channel , CreateJaguarStatic ) ; if ( jaguar ) jaguar -> Set ( speed ) ; }
Set the PWM value.
Set the PWM value .