Hey, here’s a question that has been bugging me for a couple of days now.
I am using “System.sleep” to get my Photon to sleep between temperature reading operations on a DHT22. All works fine, and the rig has been running for about three days now on the same battery pack.
However, when trying to flash something new to it, I am unable to do so, since it only wakes up to make the reading, and publish it, and then goes back to sleep again. Which then gives me not enough time to flash it.
What is the recommended procedure here? I know I can factory reset it and flash again, but this loses all my settings, and here just has to be a better way of doing that.
Thanks in advance