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

your first program

For your first program, use the Sound block to have the NXT say “Hello.” When you start the MINDSTORMS IDE, you’ll see an area that lets you create a new program or open an existing one. In the Create New Program box, enter Hello as the program name, and click the Go button, as shown in Figure 2-4. (This box is labeled Start new program in the original NXT retail kit and the education set.)

Creating a new program

Figure 2-4. Creating a new program

A new Work Area will open. Follow these steps to add a Sound block to the new program:

  1. Select the Sound block from the Common Palette, as shown here:

  2. Drag the block onto the end of the Sequence Beam, which looks ...

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