vivchawda:
GoForSmoke:
You know that your accuracy will be no better than 2x the switch debounce?If you need better then perhaps think about light beam interrupt or other short-or-no-bounce sensor?
It's not a high accuracy application, so I am using the Bounce library to debounce for about 200ms.. That serves the purpose
It is -only- a problem if you expect more accuracy. I meant that in a goal-engineering sense.