mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-22 14:48:04 +08:00
.. | ||
mongoose | ||
Makefile | ||
README.md |
Mongoose as a MicroPython user module on the ESP32
The most basic usage is:
import network
import mongoose
sta_if = network.WLAN(network.STA_IF)
sta_if.active(True)
sta_if.connect("<SSID>", "<PASSWORD>")
while not sta_if.isconnected():
pass
mongoose.init()
while True:
mongoose.poll(1000)
Check _thread support for more advanced usage
https://docs.micropython.org/en/latest/develop/cmodules.html