pikapython/examples/network/network_scan.py
2023-01-25 00:25:18 +08:00

7 lines
95 B
Python

import network
wlan = network.WLAN(network.STA_IF)
wlan.active(True)
wlan.scan()
wlan.close()