Table Of Contents
Background
Are you old and feel like your cognitive abilities are deteriorating?
Perform a test to judge your reaction time using the Reaction Time Tester!
Press the button immediately once the LED illuminates. The time taken to press the button, your reaction time will be printed to the console.
We’ll use the serial terminal as the game UI, avoiding us having to use a TFT/OLED display.
Hardware Connections
8 LEDs with current-limiting resistors connected to Port B. Button connected to PD2.
The Software
The main application logic is in main.c with a few helper functions in support.h/.c. Full source code available at my GitHub repository.
