Deep Sleep behavior

I have been trying to figure out how lowPower.deepSleep(ms) works? I initially thought that after it woke up after xx ms, it would continue on in the loop from the lowPower.deepSleep() call. It is not behaving as expected. Does anyone know definitely what happens after it wakes up? Does it start at the setup loop again, start at the beginning of the main loop, is it supposed to go to the next line after the deep sleep????

1 Like