[−][src]Function wpilib_sys::bindings::HAL_SetEncoderDistancePerPulse
pub unsafe extern "C" fn HAL_SetEncoderDistancePerPulse(
encoderHandle: HAL_EncoderHandle,
distancePerPulse: f64,
status: *mut i32
)
Sets the distance traveled per encoder pulse. This is used as a scaling factor for the rate and distance calls.
@param encoderHandle the encoder handle @param distancePerPulse the distance traveled per encoder pulse (units user defined)