Lesson 6 Worksheet 6.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.
What distance can the robot sense your claps?
What is the purpose of the loop icons in this program and what would happen if the loop icons were not there?