diff options
| author | Daniel Campora <daniel@wipy.io> | 2015-07-28 23:08:15 +0200 |
|---|---|---|
| committer | Daniel Campora <daniel@wipy.io> | 2015-07-30 00:43:11 +0200 |
| commit | da33b31c7dabd894c4e4d210e02556f248f6e955 (patch) | |
| tree | b755f015b72ffa3a400967a12b19d92966be2d81 /docs/wipy/quickref.rst | |
| parent | 9a348fc84032772bba743cc1e4aa195719c5c941 (diff) | |
docs/wipy: Correct nic.ifconfig() quickref example.
Diffstat (limited to 'docs/wipy/quickref.rst')
| -rw-r--r-- | docs/wipy/quickref.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/wipy/quickref.rst b/docs/wipy/quickref.rst index 34517d273..3dc12a111 100644 --- a/docs/wipy/quickref.rst +++ b/docs/wipy/quickref.rst @@ -188,7 +188,7 @@ See :ref:`network.WLAN <network.WLAN>` and ``pyb.Sleep``. :: # configure the WLAN subsystem in station mode (the default is AP) wifi = WLAN(WLAN.STA) # go for fixed IP settings - wifi.ifconfig('192.168.0.107', '255.255.255.0', '192.168.0.1', '8.8.8.8') + wifi.ifconfig(('192.168.0.107', '255.255.255.0', '192.168.0.1', '8.8.8.8')) wifi.scan() # scan for available netrworks wifi.connect(ssid='mynetwork', security=2, key='mynetworkkey') while not wifi.isconnected(): |
