docs/wipy: Fix error in WLAN quickref.
This commit is contained in:
parent
a3a33db409
commit
359a8aa760
@ -193,7 +193,7 @@ See :ref:`network.WLAN <network.WLAN>` and :mod:`machine`. ::
|
|||||||
pass
|
pass
|
||||||
print(wifi.ifconfig())
|
print(wifi.ifconfig())
|
||||||
# enable wake on WLAN
|
# enable wake on WLAN
|
||||||
wifi.irq(wake=machine.SLEEP)
|
wifi.irq(trigger=WLAN.ANY_EVENT, wake=machine.SLEEP)
|
||||||
# go to sleep
|
# go to sleep
|
||||||
machine.sleep()
|
machine.sleep()
|
||||||
# now, connect to the FTP or the Telnet server and the WiPy will wake-up
|
# now, connect to the FTP or the Telnet server and the WiPy will wake-up
|
||||||
|
Loading…
Reference in New Issue
Block a user