Debouncing an InterruptPort Input

I know what your talking about. Hardware method will resolve it 100%, that’s all I’m saying. This is what we used at NASA back in the 60’s. Simple and works.

Somebody needs to make a button module like this.

1 Like

You read my mind. It’s already been added to my “modules to build some day” list. :wink: A button module that doesn’t require writing debouncing code adheres nicely into the Gadgeteer rapid prototyping theme.

1 Like

Something like this ?

1 Like

Maybe… Is there an S-R latch on there somewhere?

On an interesting note… This commit message just popped up in my mailbox. Is Microsoft building in per-pin debounce code into the framework??? :smiley:

1 Like

No S-R latch but RC latch. For cost and space reasons.

1 Like

@ Bec a Fuel -

RC is better than nothing but not ideal. GHI Button Module has it and I have several that still cause occasional issues.

I would willingly pay extra for a switch module that never bounced.

Nah. That code has been there from the beginning. Used for InterrupPort(s) and I think glitch filtering uses it too.