Hacker News new | ask | show | jobs
by danielvf 3180 days ago
A year or two ago, I started doing software for embedded hardware. It’s terrifying how many things we software developer abstract away, actually behave far more strangely in the real world.

There could be nothing simpler than a button press, right? And yet in the real world it often enough bounces on and then off several times, quickly. An the tiny on/offs themselves change voltage for tiny bits of time as the current coming through bounces off other components in its new path before settling down. There’s nothing that will shake your faith in binary logic as a simple hardware button.