Deepsleep



  • Hello,

    I am starting programing in the pycom and I am trying to wrap my head around the "sleep" and "deepsleep" functions as well ad the wake up conditions.

    Can someone explain them to me? thanks in advance



  • I have summarized my current understanding of the various was to enter sleep mode in this post. The general idea though is that sleep allows the board to still run (but with reduced power) and it does not reset when you exit sleep. Deep sleep resets the board (will not execute any code after the deep sleep command and will reboot and run boot.py and main.py)



Pycom on Twitter