Reaction Timer

Hey i am trying to create a reaction timer but having trouble with the code. It tests a reaction time of two opponents. so when the start button is puushed the beeper goes on adn the first player to press the button , the beeper should turn off and the led assigned to that player turns on and the buzzer turns off and the reaction time is posted. i am using a AT90USB1287 micro controller

We have no idea what software you're using with which libraries in what environment. This is less a C++ question and more a "how do I program for this microcontroller" question. Maybe look on the support forums for your microcontroller?
Topic archived. No new replies allowed.