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

keeping out of trouble

Adding a second Sequence Beam lets your program do more but also increases the number of ways that things can go wrong. Using multiple Sequence Beams affects almost every aspect of NXT-G programming, including variables, data wires, My Blocks, and program flow. This is an advanced programming technique that can allow you to write some incredible programs but can also cause a lot of confusion. Here are some tips to help you avoid the most common problems:

  • Use a second Sequence Beam only when it’s really necessary. If you can find a solution to your problem that requires only one Sequence Beam, then you’re usually better off avoiding the added complexity.

  • Go slow when editing the program. The IDE tends to get confused much easier ...

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