=== I’ll move this to the ‘sensors’ subforum ===
I have posted this announcement in the sensors subforum at topic=346040 and will be following the discussion there.
I have written a library for debouncing digital inputs, and I’m hoping some people could look at it, comment, maybe even find it useful and use it.
The library is at GitHub - PaulMurrayCbr/DebounceInput: Arduino library for debouncing digital inputs., and should just go into the IDE without difficulty. There’s sample code, a README, various bits.