L01 Problem machine.pin_deepsleep_wakeup tupple



  • Hi I have some trouble by adding tupple with machine.pin_deepsleep_wakeup on my l01 (stable version '1.18.0')
    Wake up on deepsleep only work with one pin argument. when I add more it doesn't work.
    here's my code, I tried different form but no wakeup with more than one argument.

    import machine
    machine.pin_deepsleep_wakeup(['P13'], machine.WAKEUP_ALL_LOW, False) // this one work
    machine.pin_deepsleep_wakeup(['P13', 'P23'], machine.WAKEUP_ALL_LOW, False) // no wakeup on P13 & P23
    machine.pin_deepsleep_wakeup(('P13', 'P23',), machine.WAKEUP_ALL_LOW, False) // no wakeup on P13 & P23
    machine.deepsleep(30*1000)

    by the way it has been already said but machine.wake_reason() doesn't return pin's output.


 

Pycom on Twitter