mongoose/examples/micropython
2024-03-11 11:07:18 -03:00
..
mongoose remove fn_data from event handler signature 2024-01-09 14:51:19 -03:00
main.py Add Micropython example 2023-11-02 18:17:33 -03:00
Makefile tie Micropython examples to a stable release 2024-03-11 11:07:18 -03:00
README.md Add Micropython example 2023-11-02 18:17:33 -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.

Check _thread support for more advanced usage

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