pikapython/test/python/network/network_connect.py
lyon 9b82685e4d check faild on network
fix pos to kw when no enough pos

ifconfig test ok
2023-01-25 14:13:09 +08:00

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()