Chapter 4.1 - Flash LED in response to clap

Write the following program to have the Edison robot flash the left LED in response to a loud sound such as a clap.


In this program the first event wait icon is not being used to wait for time. Instead the program will not continue from this point until a specific event occurs.

Within the first event wait icon’s properties box select the ‘Event happens’ radio button and then select the event type you think is required to respond to a clap.