EdVenture 8 – Take control!
Don’t just take control, take remote control!
Use a TV or DVD remote control to control your program and play Star Wars at your command.
Write the following program. Note that it uses the play music and event waits from EdVenture3.

Getting ready
Before you program Edison turn to the next page and scan in barcode #0. Now download your program to Edison.
How the program works
Right away the program enters a loop, but it doesn’t get very far. The event wait icon won’t allow the program to progress until the infrared code #0 is received. Once this is received the program can continue and play the Star Wars theme.
EdFact
Edison learns the infrared command signals from your TV/DVD remote control. He stores them in his memory and when he detects and receives a new command he compares it to what he has stored. If there is a match he activates that function.