Created
November 3, 2018 19:29
-
-
Save GabrielMMelo/ba3d8b6006f45a543625b922c10d8ccf to your computer and use it in GitHub Desktop.
Get mac address formated
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import network | |
import ubinascii | |
mac = ubinascii.hexlify(network.WLAN().config('mac'),':').decode() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment