micropython-WiFiManager/main.py

13 wiersze
280 B
Python

import networkconfig
wlan = networkconfig.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")