I would be very grateful to receive some help, advice, suggestions or techniques that I might utilise in a lap counter that I wish to construct. Basically the laps are counted manually by a timekeeper who activates a microswitch. I can debounce that OK. With a change of state I can decrement a constant in EEPROM and make that activate other circuits. That’s OK as well. As a beginner I am struggling with how to look at the state of the input pin to ensure that if the timekeeper holds the microswitch down the software will ignore this 'constant' state ie I want the software to respond to a rising debounced pulse and not reactivate until the pin has gone low again. Is this straightforward? I hope this is clear...
Many thanks for any advice
Adrian
Bookmarks