code/WPILib/CANJaguar.cpp
/**
 * Configure how many codes per revolution are generated by your encoder.
 * 
 * @param codesPerRev The number of counts per revolution in 1X mode.
 */
Configure how many codes per revolution are generated by your encoder.

@param codesPerRev The number of counts per revolution in 1X mode.
Configure how many codes per revolution are generated by your encoder . @param codesPerRev The number of counts per revolution in 1X mode .
void CANJaguar::ConfigEncoderCodesPerRev(UINT16 codesPerRev)
{
	UINT8 dataBuffer[8];
	UINT8 dataSize;
	dataSize = packINT16(dataBuffer, codesPerRev);
	setTransaction(LM_API_CFG_ENC_LINES, dataBuffer, dataSize);
}
void CANJaguar :: ConfigEncoderCodesPerRev ( UINT16 codesPerRev ) { UINT8 dataBuffer [ 8 ] ; UINT8 dataSize ; dataSize = packINT16 ( dataBuffer , codesPerRev ) ; setTransaction ( LM_API_CFG_ENC_LINES , dataBuffer , dataSize ) ; }
Configure how many codes per revolution are generated by your encoder.
Configure how many codes per revolution are generated by your encoder .