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 ...

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.