Function wpilib_sys::bindings::HAL_SetEncoderReverseDirection
source · pub unsafe extern "C" fn HAL_SetEncoderReverseDirection(
encoderHandle: HAL_EncoderHandle,
reverseDirection: HAL_Bool,
status: *mut i32
)Expand description
Sets if to reverse the direction of the encoder.
Note that this is not a toggle. It is an absolute set.
@param encoderHandle the encoder handle @param reverseDirection true to reverse the direction, false to not.