public void setSpeed(Integer motorPortNumber, Integer speed) { arduino.sendMsg(AF_DCMOTOR_SET_SPEED, motorPortNumber - 1, speed); }
public void run(Integer motorPortNumber, Integer command) { arduino.sendMsg(AF_DCMOTOR_RUN_COMMAND, motorPortNumber - 1, command); }