Particle Electron know the wakeup cause

Hi,

I am looking for a way to differentiate between the which is the cause of wakeup, if its trigger or timeout.
System.sleep(D1,RISING,60);

Thanks

This post may get you started, System.sleepResult(), I've never tried it....

1 Like