pub unsafe extern "C" fn CANSparkMax_CANSparkMax(
this: *mut CANSparkMax,
deviceID: c_int,
type_: CANSparkMaxLowLevel_MotorType,
)Expand description
Create a new object to control a SPARK MAX motor Controller
@param deviceID The device ID. @param type The motor type connected to the controller. Brushless motor wires must be connected to their matching colors, and the hall sensor must be plugged in. Brushed motors must be connected to the Red and Black terminals only.