What's A Microcontroller Reaction timer
Rocket_0
Posts: 1
Hello,
I can't seem to come up with the solution to the 3rd "fix" for the reactiontimer program in Ch. 3.
" If the value of timeCounter equals 1
-Display a message telling the player he or she has to wait until after
the light turns green to let go of the button
Else (if the value of timeCounter is greater than 1)
- Display the value of timeCounter time in ms."
Not sure where to insert the IF/Else.
Thanks!
I can't seem to come up with the solution to the 3rd "fix" for the reactiontimer program in Ch. 3.
" If the value of timeCounter equals 1
-Display a message telling the player he or she has to wait until after
the light turns green to let go of the button
Else (if the value of timeCounter is greater than 1)
- Display the value of timeCounter time in ms."
Not sure where to insert the IF/Else.
Thanks!