Re:How Jeff Geerling almost broke MrBeast's 1-100 video [video]
by guepe on Monday September 18, 2023 @09:09AM
(#37555599)
De bouncing is solved in hw with right-sized capacitor. That's it....
[ Parent
| on HN ]
Re:How Jeff Geerling almost broke MrBeast's 1-100 video [video]
by ilyt on Monday September 18, 2023 @09:23AM
(#37555754)
You need schmitt trigger input to do it properly and most microcontrollers don't have it.
Re:How Jeff Geerling almost broke MrBeast's 1-100 video [video]
by rowanG077 on Monday September 18, 2023 @10:26AM
(#37556548)
I really, really hate HW solution for something so easily solved in Software.
Re:How Jeff Geerling almost broke MrBeast's 1-100 video [video]
by numpad0 on Monday September 18, 2023 @03:45PM
(#37561026)
In reality you implement both. Basic noise filtering in hardware, plus rate limiting or something in software.
onClick event handlers in most GUI triggers on mouse button releases, for example.
Re:How Jeff Geerling almost broke MrBeast's 1-100 video [video]
by rowanG077 on Monday September 18, 2023 @04:04PM
(#37561256)
I have almost never seen hardware debouncing. It's just way better done in software. Unless you have extremely specialized switched which require HW debouncing(???), please just do it in software.