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...")
time.sleep(2)
# Connect to wireless network as client
import network
wlan = network.WLAN(network.STA_IF)
wlan.active(True)
wlan.connect("k-space.ee legacy")
while not wlan.isconnected():
pass