(byte)((pulseWidth >> 8) & 0xff), (byte)1);
}
@Override
public void startMotor(float dutyCycle, short pulseWidth) {
short converted= (short)((dutyCycle / 100.f) * 248);
<BUG>writeRegister(mwState, Register.PULSE, (byte)(converted & 0xff), (byte)(pulseWidth & 0xff),
</BUG>
(byte)((pulseWidth >> 8) & 0xff), (byte)0);
}
});

(byte)((pulseWidth >> 8) & 0xff), (byte)1);
}
@Override
public void startMotor(float dutyCycle, short pulseWidth) {
short converted= (short)((dutyCycle / 100.f) * 248);
queueRegisterAction(mwState, true, Register.PULSE, (byte)(converted & 0xff), (byte)(pulseWidth & 0xff),
(byte)((pulseWidth >> 8) & 0xff), (byte)0);
}
});
