This page (revision-15) was last changed on 2025-04-03 01:12 by Murray Altheim

This page was created on 2021-11-27 23:10 by Murray Altheim

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
15 2025-04-03 01:12 4 KB Murray Altheim to previous
14 2025-04-02 23:22 4 KB Murray Altheim to previous | to last
13 2025-04-02 23:19 4 KB Murray Altheim to previous | to last
12 2025-04-02 23:18 4 KB Murray Altheim to previous | to last
11 2025-04-02 23:12 4 KB Murray Altheim to previous | to last
10 2025-04-02 23:02 3 KB Murray Altheim to previous | to last
9 2025-04-02 22:51 2 KB Murray Altheim to previous | to last
8 2025-04-02 22:42 2 KB Murray Altheim to previous | to last
7 2025-04-02 22:40 1 KB Murray Altheim to previous | to last
6 2025-04-02 22:38 1 KB Murray Altheim to previous | to last
5 2025-04-02 22:37 1 KB Murray Altheim to previous | to last
4 2025-04-02 22:28 1 KB Murray Altheim to previous | to last
3 2021-12-22 07:08 437 bytes Murray Altheim to previous | to last
2 2021-11-29 10:39 422 bytes Murray Altheim to previous | to last
1 2021-11-27 23:10 297 bytes Murray Altheim to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 7 added 4 lines
Note that MicroPython on a microcontroller has what's effectively its own tiny file system (as a "[Pyboard]"), and there's not really much in the way of standardisation of how things are installed there. So if a library or function isn't defined in MicroPython itself (or, e.g., in Pimoroni's distribution of it), you can simply install the necessary files on your microcontroller, perhaps in its own or a 'lib' directory, and just be sure to manage your imports so your main.py can see the necessary files. It's not a lot more complicated than that.
I'd also recommend __[rshell|https://github.com/dhylands/rshell]__, which provides a command line into {{/pyboard}} where you can use commands like {{cp}} (copy), {{df}} (get filesystem info), {{rm}} (delete files), {{rsync}} (synchronise with a local directory), and {{edit}} (with vim being the default editor, but changeable). {{repl}} provides access to the Python REPL so you can execute your code. Highly recommended. The `rsync` feature alone is worth it, e.g., you can sync your installation with a local directory that can be maintained on github.