public void Dispose() { CANSparkMaxDriver.Destroy(m_sparkMax); m_sparkMax = null; }
public CANSparkMaxLowLevel(int deviceId, MotorType type) { m_deviceId = deviceId; m_sparkMax = CANSparkMaxDriver.Create(deviceId, type); m_motorType = type; }