Question: 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

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 display

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!