mongoose/tutorials/micropython
2025-02-26 11:31:01 -03:00
..
esp32 move MicroPython and dashboards -> tutorials 2025-02-26 11:31:01 -03:00
mongoose move MicroPython and dashboards -> tutorials 2025-02-26 11:31:01 -03:00
main.py move MicroPython and dashboards -> tutorials 2025-02-26 11:31:01 -03:00
Makefile move MicroPython and dashboards -> tutorials 2025-02-26 11:31:01 -03:00
README.md move MicroPython and dashboards -> tutorials 2025-02-26 11:31:01 -03:00

Mongoose as a MicroPython user module

The most basic usage is in main.py.

You'll have to configure Mongoose for your desired platform, this example runs on the unix port and Mongoose detects it as a known architecture and hence configures itself to use sockets and time base. For other platforms, you'll have to do your homework (there's plenty of Mongoose examples for several platforms); also check respective MicroPython build instructions.

For more information, check this third-party article: part 1, part 2

Check _thread support for more advanced usage

https://docs.micropython.org/en/latest/develop/cmodules.html