Skip to main content

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
free    show the current free ram and rom space, requires a soft-reset
init    initialise a python pico project in the current directory
image   prepare a 128x128 sprite 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


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.7.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

pico_up-0.0.7-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file pico-up-0.0.7.tar.gz.

File metadata

  • Download URL: pico-up-0.0.7.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for pico-up-0.0.7.tar.gz
Algorithm Hash digest
SHA256 9ea547063b702c4dced600a98db2893a1028e5ea64920ea26d155f1e943a2267
MD5 80f0bf7d9bb2c731f766ffa26e0d77c2
BLAKE2b-256 865d9fc49796587edb1f94ec4607c6ee80af05a5aa302d1daf660d4fef875029

See more details on using hashes here.

File details

Details for the file pico_up-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: pico_up-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for pico_up-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 31eafe9b133572de891e69366419e07883a2c3fe19d688efe199802bb535b6a8
MD5 caa1647bc3864aafdae254fd8354a11a
BLAKE2b-256 a516e84f9f15ca29c34fbea9384e0d2ff3dbe19d99b34dc2d6288286c6dc7080

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page