I have a NO relay contact with a pull up resistor. I need to count how many times it closes within a certain period. Using the count command I get the wrong answer because of switch bounce.
To get rid of switch bounce in software normally requires a short pause. What do I use for the count command? I do not want to use an RC filter if I can possibly get away with it.
To get rid of switch bounce in software normally requires a short pause. What do I use for the count command? I do not want to use an RC filter if I can possibly get away with it.