- Thu Oct 21, 2010 1:37 pm
#111868
Programming question:
I need to measure the total number of seconds a button is pressed. More specifically, I need to count the number of seconds first press, second press, third press, etc, and add the total number of seconds that the switch has been activated.
Could anyone point me in the direction? Any resources you might recomend are greatly appriciated.
Thanks,
-dustin
I need to measure the total number of seconds a button is pressed. More specifically, I need to count the number of seconds first press, second press, third press, etc, and add the total number of seconds that the switch has been activated.
Could anyone point me in the direction? Any resources you might recomend are greatly appriciated.
Thanks,
-dustin