WiFi - Scan the surrounding WiFi networks
Materials
- AmebaD [ AMB23 / AMB21 / AMB22 / BW16 / BW16-TypeC ] x 1
Example
WiFi Scan function can help us quickly discover what WiFi networks are available in our surrounding.
Code
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. Terms of Use