Skip to content
Dangerous Prototypes

Dangerous Prototypes

Open source hardware projects

  • DirtyPCBs
  • Projects
  • Forum
  • Bus Pirate
  • Free PCBs
  • Contact
  • github
  • Twitter
  • Facebook
  • YouTube

Tag Archives: debounce code

Button debounce code

Push buttons don’t give a clean on/off signal to a microcontroller. The value bounces around a little, which can cause a program to see a whole string of button presses instead of one. There are lots of techniques to clean up the signal and ‘debounce’ the button, both in hardware and software. Hack a Day […]

Posted byIanNovember 10, 2010Posted incodeTags: buttons, debounce codeLeave a comment on Button debounce code
Dangerous Prototypes, Proudly powered by WordPress.