The program starts with the red light on. When you press the first button, it switches to the yellow light. Now your task is to press the second button when it switches to the green light. Your reaction time will be printed to the serial port.
mattfbacon / arduino-reaction-time Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Affero General Public License v3.0