No project description provided
Project description
pico-up-and-running
A template repository with some scripts and shared functionality to get up and running with RaspberryPi Pico
The pico-up
command
python pico-up
build minify and attempt to compile pico application to bytecodes
init initialise a python pico project in the current directory
image prepare an image for use with the pico
push push local application code to a connected pico
wipe remove all files from a connected pico
version show the version of pico-up
init
The init command will create the following directory structure.
.
├── app
│ └── __init__.py
├── .gitignore
├── .pico-up.ini
├── main.py
├── README.md
└── settings.py
Setting the right device
Use mpremote connect list
to view a list of connected serial devices.
/dev/ttyACM0 xxxxxxxxxxxxx xxxx:cccc MicroPython Board in FS mode
/dev/ttyS1 None 0000:0000 None None
Choose the one in the list that says MicroPython Board in FS mode
,
copying the first row of information, /dev/ttyACM0
in this case.
Replace the line address = 'CHANGE_ME'
with address = '/dev/ttyACM0'
in the .pico-up.ini
file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pico-up-0.0.5.tar.gz
(6.7 kB
view details)
Built Distribution
File details
Details for the file pico-up-0.0.5.tar.gz
.
File metadata
- Download URL: pico-up-0.0.5.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8c80b67e1883d3f3bb3e710fac0155f2e880c78ebd11ee2c8ab0844eec68e9c |
|
MD5 | 93135165dbb0f1fe39f786053612dfef |
|
BLAKE2b-256 | 4b6d375cf040b96294b8262c19db51f1ac5b6a945662e12e07e302ceed109c99 |
File details
Details for the file pico_up-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: pico_up-0.0.5-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bd2774b8fc22e694dbdb387300c83d153c8a9256343b942cb276003340bbcd2 |
|
MD5 | 4ea0df473fe1881d8d3555f831824d17 |
|
BLAKE2b-256 | c6e46732480799a659be34163eba3238212b2029a0ed2ec332db760d0b0de824 |