mongoose/examples/esp32/micropython
2024-04-18 17:28:40 -03:00
..
mongoose remove arch autodetection for embedded 2024-04-18 17:28:40 -03:00
Makefile tie Micropython examples to a stable release 2024-03-11 11:07:18 -03:00
README.md Add Micropython on ESP32 example 2023-11-03 19:15:57 -03:00

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