Newbie help needed to get me started.....
I need to see how long a pushbutton is pressed and carry out a different action depending upon the timing.
If a pushbutton is held down for under a second, I want to goto address1
If the pushbutton is held down for more than two seconds, to goto address 2
If the pushbutton is held down for more than five seconds, to goto address 3
I would be most grateful for help/code snippet etc
Thanks
Mik
I need to see how long a pushbutton is pressed and carry out a different action depending upon the timing.
If a pushbutton is held down for under a second, I want to goto address1
If the pushbutton is held down for more than two seconds, to goto address 2
If the pushbutton is held down for more than five seconds, to goto address 3
I would be most grateful for help/code snippet etc
Thanks
Mik