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 second program

The next program, HelloDisplay, is very similar to the Hello program, except that instead of using the Sound block, you’ll use the Display block to write Hello to the NXT display. One big difference between this program and the first one is that this program won’t work the first time. This will give you a chance to look at what to do when your program doesn’t work. Use the following steps to create the initial version of the program:

  1. Create a new program called HelloDisplay. Open the Getting Started window by clicking the small tab on the top of the Work Area that looks like this:

  2. It will be the first tab on the left, before any ...

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