diff options
author | Radomir Dopieralski <openstack@sheep.art.pl> | 2016-05-10 00:31:57 +0200 |
---|---|---|
committer | Radomir Dopieralski <openstack@sheep.art.pl> | 2016-05-10 00:31:57 +0200 |
commit | e89413e9b081bfa48dcafac7fa22a544172c8d2f (patch) | |
tree | 7af94ceb1c469300b575e160637dd44f15c95f56 /docs/esp8266 | |
parent | 6f34e138f1ecf197212dc1392cbffeea41b44a93 (diff) | |
download | micropython-e89413e9b081bfa48dcafac7fa22a544172c8d2f.tar.gz micropython-e89413e9b081bfa48dcafac7fa22a544172c8d2f.zip |
docs/esp8266/quickref: New way to get MAC address
Diffstat (limited to 'docs/esp8266')
-rw-r--r-- | docs/esp8266/quickref.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/esp8266/quickref.rst b/docs/esp8266/quickref.rst index bfded9bea1..87f57c5848 100644 --- a/docs/esp8266/quickref.rst +++ b/docs/esp8266/quickref.rst @@ -43,7 +43,7 @@ The ``network`` module:: wlan.scan() # scan for access points wlan.isconnected() # check if the station is connected to an AP wlan.connect('essid', 'password') # connect to an AP - wlan.mac() # get the interface's MAC adddress + wlan.config('mac') # get the interface's MAC adddress wlan.ifconfig() # get the interface's IP/netmask/gw/DNS addresses ap = network.WLAN(network.AP_IF) # create access-point interface |