I’m using the following code to place the Photon into Stop mode after a Timer event has expired:
System.sleep(D2,RISING,60);
The Photon goes into sleep mode then wakes up after 60 seconds.
However, it never connects to the Cloud (breathes green).
Do I have to force it to connect every time it wakes up from Stop?
edit:
I should add that this also happens when the Photon wakes from a button press on D2.
Also, all my timers that are started in the Setup() function stop working.