This demonstrates the use of motor.stop(hold) with the V5 motors. On our Clawbot arm, 0 degrees is where the motor initializes and 770 (110 * 7) degrees is the top of a 110 degree arc swing, for which the motor has to move seven times as far as the arm itself to make up for the 1:7 gear reduction on the Clawbot. We use these so that the motor does not drive past its end of travel.
Sample Projects