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?
When you flash a app firmware that’s targeting 0.6.0-rc.2 the Safe Mode Healer should update your Photon to the required version.
Just allow for multiple (3-4) reboots, till the device runs your 0.6.0-rc.2 code.
first attempt to flash your app which fails into Safe Mode
update system part1
update system part2
second attempt to flash your app which should end in breathing cyan