例程讲解14-WiFi-Shield->scan 扫描网络
视频教程12 - WIFI无线图传:https://singtown.com/learn/50005/
# Scan Example
#
# 此示例显示如何使用WiFi扩展来扫描网络。
import time, network
wlan = network.WINC()
print("\nFirmware version:", wlan.fw_version())
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_ms(1000)