1968neil
Senior Member
Hi Folks,
I have a small issue that im trying to solve.........
I have a Push switch that increments a counter by 10 when its pressed once.
What i want to do is..........If it's held for say 3 seconds it resets the counter to Zero.
I'm racking my brains to think of a simple way of doing it.
Any ideas ? I have it working with a Do- Loop but its unreliable even with small pauses for de-bounce etc
Any input much appreciated
Regards
Neil
I have a small issue that im trying to solve.........
I have a Push switch that increments a counter by 10 when its pressed once.
What i want to do is..........If it's held for say 3 seconds it resets the counter to Zero.
I'm racking my brains to think of a simple way of doing it.
Any ideas ? I have it working with a Do- Loop but its unreliable even with small pauses for de-bounce etc
Any input much appreciated
Regards
Neil