Viewing 1 post (of 1 total)
  • Author
    Posts
  • #15754
    LIM PHANG MOH
    Keymaster

    I think you would need to set an extra global variable/semaphore in the WDT ISR to check whether it is woken up by the WDT. This has to be added in the LowPower library file. On top of that, I would advise putting into SLEEP_FOREVER first and test the other 2 wake up source. Why? There’s a minimum pulse width that they need to meet in order for the ISR to take place. Else it would wake up but not knowing what woken it up as the pulse might have gone high before it check them.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.