mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-22 17:12:55 +08:00
9b82685e4d
fix pos to kw when no enough pos ifconfig test ok
9 lines
159 B
Python
9 lines
159 B
Python
import network
|
|
|
|
wlan = network.WLAN(network.STA_IF)
|
|
wlan.active(True)
|
|
wlan.connect('testssid', 'testpassword')
|
|
wlan.isconnected()
|
|
wlan.ifconfig()
|
|
wlan.close()
|