adding a second sequence beam
In this section I’ll walk you through the steps to add the second Sequence Beam to the AroundTheBlock program. As you’re adding blocks and connecting the Sequence Beam, be sure to go slow and give the IDE time to keep up with you. Moving too fast is the most common source of problems people have when editing complex programs. As always, select the Edit ▸ Undo menu item if you move too fast or make a mistake. Follow these steps to add a Loop block on a new Sequence Beam:
Open the AroundTheBlock program.
Place a Loop block in the Work Area below the existing program. The block will appear faded because it’s not connected to a Sequence Beam.
Move your mouse over the downward-pointing beam at the starting point of the program. ...
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.