pikapython/examples/network/network_scan.py

7 lines
95 B
Python
Raw Normal View History

2023-01-25 00:25:18 +08:00
import network
wlan = network.WLAN(network.STA_IF)
wlan.active(True)
wlan.scan()
wlan.close()