Log mac address at startup

This commit is contained in:
Ádám Kovács
2023-11-18 19:51:10 +01:00
parent c540ffffe1
commit 0ef4b68128

View File

@@ -77,6 +77,8 @@ else:
wlan_mac = wlan.config('mac')
mac_readable = ubinascii.hexlify(wlan_mac).decode()
print('Mac address is ' + mac_readable)
blink_onboard_led(2)
addr = socket.getaddrinfo('0.0.0.0', 80)[0][-1]