wifi connect
-
运行这个程序会报错,什么原因
请在这里粘贴代码 ```# Connect Example # # This example shows how to connect your OpenMV Cam with a WiFi shield to the net. import network SSID='licong' # Network SSID KEY='12345678' # Network key # Init wlan module and connect to network print("Trying to connect... (may take a while)...") wlan = network.WINC() wlan.connect(SSID, key=KEY, security=wlan.WPA_PSK) wlan.ifconfig(('192.168.1.2', '255.255.255.0', '192.168.1.1', '192.168.1.1')) # We should have a valid IP now via DHCP print(wlan.ifconfig())