Skip to Main Content
The Art of LEGO MINDSTORMS NXT-G Programming
book

The Art of LEGO MINDSTORMS NXT-G Programming

by Terry Griffin
August 2010
Intermediate to advanced content levelIntermediate to advanced
288 pages
13h 21m
English
No Starch Press
Content preview from The Art of LEGO MINDSTORMS NXT-G Programming

the reset motor block

To be technically correct, NXT-G doesn’t have a way to prevent the firmware from making the adjustment. However, you can reset the adjustment value to zero using the Reset Motor block (shown in Figure 4-40), which has the same effect. The Configuration Panel (shown in Figure 4-41) is very simple; you just select the motors you want reset.

The Reset Motor block

Figure 4-40. The Reset Motor block

Configuration Panel for the Reset Motor block

Figure 4-41. Configuration Panel for the Reset Motor block

Adding a Reset Motor block before the second Move block fixes the CoastBack program (see Figure 4-42 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Art of LEGO MINDSTORMS EV3 Programming (Full Color)

The Art of LEGO MINDSTORMS EV3 Programming (Full Color)

Terry Griffin

Publisher Resources

ISBN: 9781593272180Errata