the motor block

One nice thing about the Move block is that it handles all the details involved in controlling a motor. You can set the duration to six rotations, and the block will take care of bringing the motor up to speed, moving at the power level you selected, and then slowing down and stopping at just the right distance. This works great almost all of the time, but in some situations, you may want more control over a motor. For example, the Move block may speed up too quickly, or the synchronization between two wheels may not be good enough for certain surfaces or robot designs.

The Motor block controls a single motor and lets you choose how quickly the motor accelerates (speeds up) at the beginning of a move and how quickly it decelerates ...

Get The Art of LEGO MINDSTORMS NXT-G Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.