WiFi manager for ESP8266 - ESP12 - ESP32 - micropython
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.
|
import wifimgr |
|
|
|
|
|
wlan = wifimgr.get_connection() |
|
if wlan is None: |
|
print("Could not initialize the network connection.") |
|
while True: |
|
pass # you shall not pass :D |
|
|
|
|
|
# Main Code goes here, wlan is a working network.WLAN(STA_IF) instance. |
|
print("ESP OK")
|
|
|