The functionality of the RT is as follows:
Pressing the RESET button turns an eight-in-row LED display off. After a random
period of time, not exceeding 10 seconds, ALL eight LEDs light up simultaneously.
The person undergoing the test is asked to press a STOP button as soon as he/she
observes this. The time interval between the event of the LEDs coming on and the
instant the STOP button has been pressed is the reaction time of the person being
tested. After the STOP button has been pressed the reaction time (in milliseconds) is
displayed on the eight LED display. Pressing the STOP button prematurely results in
a 255 ms penalty.
Options.
Use a single button to Reset and then Stop the RT.
Use the Seven Segment Display in place of the binary display.
Enable storing and displaying of the best and the average reaction times
obtained in a series of subsequent test runs.
i have attached a file of the code i have attempted. i cant get out of the second loop to get back to the first one .i have employed an interrupt and want to show the reaction time on seven segment. lets hope this will assist.