From EENG 348 with Professor Roman Kuc in Spring 2017After user sends s via serial, the program measures reaction time between when the LED turns on and when the button is pressed. Takes 10 readings.

Three versions:

  1. Using hobbyist commands (eg. digitalRead, digitalWrite)
  2. Using register commands (eg. bit manipulations of DDRB, PORTB, PINB etc.)
  3. Using interrupts (eg. creating an interrupt service routine for button press

 

Categories: MakingProgramming

Leave a Reply

Your email address will not be published. Required fields are marked *