L01 wakeup reason missing GPIO pin

  • Hello,

    On L01 OEM after wake up with interrupt pin (eq. P18 or P15) , machine.wake_reason() is getting OK the reason (PIN_WAKE) but with EMPTY LIST !!! If you have more than 1 pin that is configured to wake up, you don't know which pin wake up the machine from deepsleep.

    in main.py I call

     print(">>>>>> Reset reason",  machine.reset_cause())
     print(">>>>>> Wakeup reason",  machine.wake_reason())

    and output is:

     >>>>>> Reset reason 3
     >>>>>> Wakeup reason (1, [])

  • Any fix on this issue?

Log in to reply

Pycom on Twitter