Lopy4 deepsleep causes LED to flikker on wake

  • I have this code at the start of my boot.py:

    import pycom

    Then in main.py i call machine.deepsleep(2000).

    The device sleeps, then restarts after two seconds.
    But unpredictably, the LED flashes blue for an instant. I am calling machine.deepsleep(2000) to conserve power, but the LED is using unnecessary energy. Short of ripping it off the board, how do i keep the LED off permanently?

Log in to reply

Pycom on Twitter