I still don’t see any code to count ‘pulses’.
A button during testing will be a lot easier than fussing with the mechanism
- you KNOW what the button is doing, while it is possible you don’t know what’s coming out of the mech until you get familiar with it.
You don’t have to do this, but if I wanted to write code without the mech, that’s the way I’d be going. Each to his own.