August 2010
Intermediate to advanced
288 pages
13h 21m
English
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 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. ...