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

writing an NXT-G program

Writing an NXT-G program is a fairly straightforward process. In the Work Area is what looks like a small white LEGO beam, which is called the Sequence Beam. You create an NXT-G program by dragging blocks from the Programming Palettes onto the Sequence Beam. Specify the exact behavior of each block using the Configuration Panel. When you run the program, the NXT executes each block in the order they appear on the Sequence Beam. The blocks are run one at a time, meaning that each block must finish its operation before the next block is started. The program ends when the end of the Sequence Beam is reached. The order of the blocks and the way they are configured determines how the program behaves.

The previous description ...

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