Lab 4 - Configuring an Interrupt (Who has the Fastest Reflex)
1. Connect the circuit up as shown
2. Develop a game that uses Switch L & R as external input interrupts.
3. Initialize the 7-segments to 9
4. First set the Hold led.
5. Wait until external inputs are not pressed, then set Ready led
6. Then set the Go led
7. Detect the first player to hit the switch, then decrement the score of the other player.
8. If the one of the decremented scores reaches 0, go to [9], else go to
9. The player that reaches 0 first, loses.
10. Take a short video of your Arduino board counting through the numbers 0-9 at about prescribed rates.
11. Zip the video with your C code listing to file Use the file naming convention GROUPXX_Timer.zip.