Hi All,
I currently have some electrons running on 0.7.0 firmware. They are located multiple states away from me so I have no easy access to physically visit the devices and upgrade them to the most recent firmware.
I would rather not flash firmware to the devices since that has been known to sometimes cause problems.
My electrons are solar/battery powered and are set to wake up every 55min and send data at the top of the hour. Then they go into SLEEP_MODE_DEEP for another 55min and repeat the process. I often have long awake times but have not yet lost data, suggesting that the electron wakes up early sometimes, possibly from a random HIGH signal on the wake up pin. This is draining my battery and causing power failure.
I was wondering if there was a way to disable the wake up pin in 0.7.0 firmware.
My idea is to assign the wakeup pin to a non-existent pin on the electron but I am not sure if that will work with SLEEP_MODE_DEEP.
My code would look something like:
System.sleep(D50, SLEEP_MODE_DEEP, 55*60); //sleep for 55min
The above line of code of course does not work but I am wondering if there is code that will run that can have the same affect.
Thanks