Chapter 17. using multiple sequence beams

In this chapter you’ll learn how to use more than one Sequence Beam in your programs, allowing your robot to do more than one thing at a time. I’ll start by showing you how to add a simple odometer to the AroundTheBlock program and then move on to a more complicated project, adding flashing lights to the DoorChime program. I’ll also discuss a few complications to the rules concerning program flow that arise when you use multiple Sequence Beams. Then I’ll show you how to use these rules to synchronize the actions between Sequence Beams.

multitasking

Multitasking means doing more than one thing at a time. You use multitasking in a program to make your robot perform two (or more) independent tasks simultaneously. ...

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.