Installation
These libraries are intended for a micropython target. We suggest using the Belay Package Manager
Install Belay:
pip install belay
Then, in your project's pyproject.toml
, add a section like:
[tool.belay.dependencies]
interp1d = "https://github.com/BrianPugh/micropython-libs/blob/main/lib/interp1d.py"
Next, run belay update
to pull down the latest changes.
Finally, to transfer the libraries to your device:
belay install <PORT>
While developing, it can be useful then to also run a file after innstalling your project:
belay install <PORT> --run my_script.py