Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using energia platform with a LaunchPad microcontroller Reaction Time. - 50pts Create a program that measures the user's reaction time to a changing LED color.
Using energia platform with a LaunchPad microcontroller
Reaction Time. - 50pts Create a program that measures the user's reaction time to a changing LED color. The LED should be RED for a random amount of time ranging from 1 to 10 seconds. During that window of time, the LED should turn green and the user should press push button 2 as fast as possible. Attach push button 2 to an interrupt and use the serial monitor to display the reaction time in milliseconds of the user in both the serial output and to the 4-digit displayStep 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