code/WPILib/CANJaguar.cpp
/**
 * Set the reference source device for speed controller mode.
 * 
 * Choose encoder as the source of speed feedback when in speed control mode.
 * 
 * @param reference Specify a SpeedReference.
 */
Set the reference source device for speed controller mode.

Choose encoder as the source of speed feedback when in speed control mode.

@param reference Specify a SpeedReference.
Set the reference source device for speed controller mode . Choose encoder as the source of speed feedback when in speed control mode . @param reference Specify a SpeedReference .
void CANJaguar::SetSpeedReference(SpeedReference reference)
{
	UINT8 dataBuffer[8];
	dataBuffer[0] = reference;
	setTransaction(LM_API_SPD_REF, dataBuffer, sizeof(UINT8));
}
void CANJaguar :: SetSpeedReference ( SpeedReference reference ) { UINT8 dataBuffer [ 8 ] ; dataBuffer [ 0 ] = reference ; setTransaction ( LM_API_SPD_REF , dataBuffer , sizeof ( UINT8 ) ) ; }
Set the reference source device for speed controller mode.
Set the reference source device for speed controller mode .