Run program on Boron on wakeup

Could somebody point me in the direction of some documentation/tutorials/resources that could help me learn how to execute a program when power is run to the wakeup pin on the boron LTE? Any other information would be much appreciated.

After a deep sleep phase when woken via WKP the program starts running just the same as when coming back from a reset or after bootup.
However, you should be able to distinguish the reset cause via System.resetReason().

When waking after stop mode sleep your code will continue with the instruction following the System.sleep() command. In that case you need to check whether the current time would suggest a timed wake vs. a WKP wake.

Sorry for the late response. Thank you for the information!

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.