Some one call help for awake Wipy 1 on Pin rising edge



  • Hi,

    I try to write a script for wake up wipy 1 with change state on input pin('GP17')
    I can't set pin.irq with 'wake_from' parameter (It don't exist), like explain in reference manual.

    Where is my error ?

    Thanks



  • Sorry for everybody, I have finaly found the good syntax

    pin17.irq(trigger=Pin.IRQ_FALLING, wake=machine.SLEEP)

    Thats right now


Log in to reply
 

Looks like your connection to Pycom Forum was lost, please wait while we try to reconnect.