August 2010
Intermediate to advanced
288 pages
13h 21m
English
Adding a Sequence Beam to a Loop or Switch block requires some additional steps because you’ll need to make room for the new blocks. In this section, you’ll modify the DoorChime program from Chapter 13 (shown in Figure 17-3) to flash the light on the Color Sensor or Light Sensor while playing the chime.

Figure 17-3. The DoorChime program

Figure 17-4. Flashing the light while playing the chime
Figure 17-4 shows how the program will look when the changes are completed. The blocks on the second Sequence Beam flash ...
Read now
Unlock full access