News for hackers. Stuff that matters.
Re:How Jeff Geerling almost broke MrBeast's 1-100 video [video] by gabereiser on Monday September 18, 2023 @07:30AM (#37554811)
so you can solve this one of two ways. 1) implement what they did and solve the hardware signal issue of bound (the right way). 2) implement an irq in your software reading it to poll every few ms and hope you don't read in the trough. Registering extra button clicks should not be the problem of the implementor. It's a hardware failure. However, in this case, he also is the firmware implementor so the firmware needs to be able to fire "onClick" once when the button is pressed once, regardless of bounce.
Re:How Jeff Geerling almost broke MrBeast's 1-100 video [video] by ilyt on Monday September 18, 2023 @09:34AM (#37555892)
Solving issue in hardware costs money. Most MCUs dont' have schmitt inputs so you'd need at least extra chip, diode, resistor and a cap per input