Jump to content
43oh

testhack

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. @@greeeg you were right! I didn't even think to clear that flag immediately before re-enabling the interrupt. Cheers!
  2. I am trying to write a simple button interrupt debounce routine without much success. I am seeing unexpected interrupts occurring. The logic I am using is to disable the button interrupt when first pressed and then re-enabling it when the watch dog timer expires. I have tried increasing the wdt interval but the momentary switch button is still bouncing and simply fires the button interrupt unexpectedly. I know I can write other debounce routines but I would like to stay out of polling or looping for low power reasons if at all possible. I am not sure if the issue is something with
×
×
  • Create New...