Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Debounce makes act on release a lot harder than act on press. If you want act on release with a bouncy switch you have to actually act on N number of milliseconds of switch open to ensure that it's an actual release and not a bounce.

Act on press is simply just rising edge and then suppress for N milliseconds.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: