diff --git a/source/EV3.m b/source/EV3.m index 25c04ca6a7e03093e56f585d1c4dc2ff8e042733..88e233481eb54421a80719b517dd2de7400f175b 100644 --- a/source/EV3.m +++ b/source/EV3.m @@ -252,10 +252,13 @@ classdef EV3 < MaskedHandle end %% Device functions - function stopAllMotors(ev3) - % Sends a stop-command to all motor-ports. - ev3.commInterface.outputStopAll(); - end +% function stopAllMotors(ev3) +% % Sends a stop-command to all motor-ports. +% ev3.handleCommand(@outputStop, 0, MotorBitfield.MotorA ... +% +MotorBitfield.MotorB ... +% +MotorBitfield.MotorC ... +% +MotorBitfield.MotorD, 0); +% end function resetAllDeviceValues(ev3) % Resets values of all sensors on all ports (including tacho counter on motors)