MicroPython Experiments is a repository containing snippets of code for testing minimal examples of how micropython performs.
It is recommended to use Poetry to manage desktop python dependencies, and Belay to manage micropython dependencies and run scripts. Once Poetry and Belay are installed, the setup process will look like:
poetry run belay install /dev/ttyUSB0 # Use your board port.
Then, run a specific script on-device:
poetry run belay run /dev/ttyUSB0 experiments/experiment1/main.py
Folder | Question | Conclusion |
---|---|---|