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

using the DisplayNumber block

Now that you’ve created the DisplayNumber block, let’s put it to use. Follow these steps to use the DisplayNumber block in the PowerSetting program, replacing the Number to Text, Text, and Display blocks:

  1. Open the PowerSetting program.

  2. Delete the Number to Text, Text, and Display blocks highlighted here:

    image with no caption
  3. Add a DisplayNumber block (from the Complete Palette) after the Variable block.

    image with no caption
  4. In the DisplayNumber block’s Configuration Panel, set the Line item to 5 and the Label item to Power: (with a space after the colon).

  5. Check the ...

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