Question
Design a reflex button system that finds out who presses first. The button press depends on a condition of Red and Green LED activation. These
Design a reflex button system that finds out who presses first. The button press depends on a condition of Red and Green LED activation. These LEDs turn on for 1 second randomly. Contestant looses if he/she presses on wrong LED. This means each user has two buttons. One for Red the other for Green. The system should contain two buttons and displays the time difference between two contestants on graphic display and the winner of each play. The game will start when a * symbol is shown on the display. A new game can start after 10 seconds. Any player who scores 3 times wins the match. Use interrupt mechanism for button presses. Use timers for time measuremen
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started