Skip to content

Commit e89413e

Browse files
committed
docs/esp8266/quickref: New way to get MAC address
1 parent 6f34e13 commit e89413e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/esp8266/quickref.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The ``network`` module::
4343
wlan.scan() # scan for access points
4444
wlan.isconnected() # check if the station is connected to an AP
4545
wlan.connect('essid', 'password') # connect to an AP
46-
wlan.mac() # get the interface's MAC adddress
46+
wlan.config('mac') # get the interface's MAC adddress
4747
wlan.ifconfig() # get the interface's IP/netmask/gw/DNS addresses
4848

4949
ap = network.WLAN(network.AP_IF) # create access-point interface

0 commit comments

Comments
 (0)