You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
293 B

# Give time to cancel this boot script
import time
print("Press Ctrl-C to stop boot script...")
# Connect to wireless network as client
import network
wlan = network.WLAN(network.STA_IF)
wlan.connect(" legacy")
while not wlan.isconnected():