Skip to content

Instantly share code, notes, and snippets.


eydam-prototyping/ Secret

Created Feb 14, 2021
What would you like to do?
import network
import time
wlan = network.WLAN(network.STA_IF)
# Set DHCP host name to recognize the device in your router
# Replace your SSID and password
wlan.connect("<SSID>", "<password>")
while not wlan.isconnected():
print("WiFi connected")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment