mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
11 lines
241 B
Python
11 lines
241 B
Python
# Simple WiFi scan example
|
|
import time, network
|
|
|
|
wlan = network.WINC()
|
|
|
|
while (True):
|
|
scan_result = wlan.scan()
|
|
for ap in scan_result:
|
|
print("Channel:%d RSSI:%d Auth:%d BSSID:%s SSID:%s"%(ap))
|
|
print()
|
|
time.sleep(1000) |