Update cheatsheets

This commit is contained in:
ivuorinen
2025-01-26 00:17:15 +00:00
parent 068c24ac65
commit 463eefab17
6 changed files with 124 additions and 2 deletions

29
tldr/mpremote Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# mpremote
> Remotely control MicroPython devices.
> More information: <https://docs.micropython.org/en/latest/reference/mpremote.html>.
- List all connected MicroPython devices:
`mpremote connect list`
- Open an interactive REPL session with a connected device:
`mpremote connect {{device}}`
- Run a local script on a connected device:
`mpremote run {{path/to/script.py}}`
- Mount a local directory to the device:
`mpremote mount {{path/to/directory}}`
- Install a mip package on the device:
`mpremote mip install {{package}}`