is there a way to determine if the Photon powers up/start or wakes up from deep_sleep?
I want to run some specific lines of code but only when the Photon gets powered up (when I plug in the battery). When the Photon wakes up from Deep_Sleep it should not run these lines of code.
Does anyone know how I can archive that?
Thank you in advance!