WiFi - Scan the surrounding WiFi networks
- AmebaD [ AMB23 / AMB21 / AMB22 / BW16 / BW16-TypeC ] x 1
WiFi Scan function can help us quickly discover what WiFi networks are available in our surrounding.
Copy and paste the following code into REPL to see its effect.
from wireless import WLAN wifi = WLAN(mode = WLAN.STA) wifi.scan()