Commit da33b31c authored by Daniel Campora's avatar Daniel Campora
Browse files

docs/wipy: Correct nic.ifconfig() quickref example.

parent 9a348fc8
......@@ -188,7 +188,7 @@ See :ref:`network.WLAN <network.WLAN>` and ``pyb.Sleep``. ::
# configure the WLAN subsystem in station mode (the default is AP)
# go for fixed IP settings
wifi.ifconfig('', '', '', '')
wifi.ifconfig(('', '', '', ''))
wifi.scan() # scan for available netrworks
wifi.connect(ssid='mynetwork', security=2, key='mynetworkkey')
while not wifi.isconnected():
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment