code/WPILib/CInterfaces/CJaguar.cpp
/**
 * Get the PWM value directly from the hardware.
 *
 * Read a raw value from a PWM channel.
 *
 * @param channel The PWM channel connected to this speed controller
 * @return Raw PWM control value.  Range: 0 - 255.
 */
Get the PWM value directly from the hardware.
Read a raw value from a PWM channel.

@param channel The PWM channel connected to this speed controller
@return Raw PWM control value.
Get the PWM value directly from the hardware . Read a raw value from a PWM channel . @param channel The PWM channel connected to this speed controller @return Raw PWM control value .
UINT8 GetJaguarRaw(UINT32 channel)
{
	Jaguar *jaguar = (Jaguar *) AllocatePWM(SensorBase::GetDefaultDigitalModule(), channel, CreateJaguarStatic);
	if (jaguar)
		return jaguar->GetRaw();
	else
		return 0;
}
UINT8 GetJaguarRaw ( UINT32 channel ) { Jaguar * jaguar = ( Jaguar * ) AllocatePWM ( SensorBase :: GetDefaultDigitalModule ( ) , channel , CreateJaguarStatic ) ; if ( jaguar ) return jaguar -> GetRaw ( ) ; else return 0 ; }
Get the PWM value directly from the hardware.
Get the PWM value directly from the hardware .