debounce

  1. M

    Key tied to two GPIO pins not functioning correctly

    I'm posting this here because it may be more of an electronics issue. Anyways, I have a program which calls the dkey function to try to get a value based on the key pressed. I have three keys. Two are tied to their own GPIO pins and the third key functions exactly the same as the other two...
  2. Dual State Pushbutton, Debounced, using Interrupts for Arduino

    This routine is interrupt driven, and will detect either a short or long button press. It's return value is bit encoded and as such it is possible that both a long and short press can be detected. They are valid, since the press is debounced. The code is not optimized, but written for...
Cookies are required to use this site. You must accept them to continue using the site. Learn more…