pub unsafe extern "C" fn SparkMaxAlternateEncoder_SetMeasurementPeriod(
this: *mut c_void,
period_ms: u32,
) -> REVLibErrorExpand description
Set the measurement period for velocity measurements of a quadrature encoder.
The basic formula to calculate velocity is change in position / change in time. This parameter sets the change in time for measurement.
@param period_ms Measurement period in milliseconds. This number may be between 1 and 100 (default).
@return REVLibError::kOk if successful