SparkMaxRelativeEncoder_GetInverted

Function SparkMaxRelativeEncoder_GetInverted 

Source
pub unsafe extern "C" fn SparkMaxRelativeEncoder_GetInverted(
    this: *mut c_void,
) -> bool
Expand description

Get the phase of the MotorFeedbackSensor. This will just return false if the user tries to get inverted while the SparkMax is Brushless and using the hall effect sensor.

@return The phase of the encoder