# 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