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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pico-up-0.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 6e8f9b507cc28900b5dc3822c7af30e8e095c62326ac4295b301e60319dd78fe
MD5 ac50c9818c67b09fc02431166538615b
BLAKE2b-256 9e76b0290dbca215eca01b8e699a8d612104e784af4d8ff14f38203ac3fc55b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pico_up-0.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2f9843a62005e64728902ab4b5098ea431f54387a16dc56e4e5419b19d445b49
MD5 2fed2691ba487ebaa09dd7fbef5f3a73
BLAKE2b-256 b4746c215d6aa5fbd7fb5c1e32aa4300dbc770d99571a631ce67bf6a9198270f

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