Ameba MicroPython: [RTL8722CSM] [RTL8722DM] WiFi - WiFi Scan

Materials

  • Ameba x 1

Steps

WiFi Scan function can help us quickly discover what WiFi networks are available in our surrounding. This example does not require any additional hardware, thus simply copy, and paste the following code into REPL to see its effect.

from wireless import WLAN
wifi = WLAN(mode = WLAN.STA)
wifi.scan()
Copyrights ©瑞晟微电子(苏州)有限公司 2021. All rights reserved.
Please confirm that QQ communication software is installed