Skip to main content

A command-line pinout for the Raspberry Pi Pico W

Project description

Raspberry Pi Pico GPIO Pinout

A beautiful GPIO pinout and pin function guide for the Raspberry Pi Pico.

Example image

Build Status PyPi Package Python Versions

Usage

usage: picopins [--pins] [--all] or {spi,i2c,uart,pwm}
       --pins - show physical pin numbers
       --all or {spi,i2c,uart,pwm} - pick list of interfaces to show
       --hide-gpio - hide GPIO pins
       --find "<text>" - highlight pins matching <text>

eg:    picopins i2c  - show GPIO and I2C labels
       picopins      - basic GPIO pinout

Installing

  • Just run python3 -m pip install picopins

Acknowledgements

This project was inspired by GPIO Zero's command-line pinout - https://github.com/gpiozero/gpiozero

It somehow wasn't inspired by Raspberry Pi Spy's "picopins" which came first and solves this same problem in bash - https://www.raspberrypi-spy.co.uk/2022/12/pi-pico-pinout-display-on-the-command-line/

Like RPi Spy's picopins it started as a GitHub gist, you can find the history here - https://gist.github.com/Gadgetoid/192af85a3eb05d4a6ac1db076c4ef118/revisions

Changelog

1.2.0

  • Highlight LED if --find GP25 or --find LED
  • Refactor options and add a --version command

1.1.0

  • Highlight GPIO label if --find matches a hidden label
  • Add regex support to --find
  • Rewrite render flow to make it less hacky
  • Light mode is back! --light
  • Move error text above usage message

1.0.1

  • Tidy up readme

1.0.0

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

picopins-1.2.0.tar.gz (42.6 kB view details)

Uploaded Source

Built Distribution

picopins-1.2.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file picopins-1.2.0.tar.gz.

File metadata

  • Download URL: picopins-1.2.0.tar.gz
  • Upload date:
  • Size: 42.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for picopins-1.2.0.tar.gz
Algorithm Hash digest
SHA256 6f9e7bed0843b6d58dcb14126f27559552a45c12304bb830be1c8954a19f4ade
MD5 b416de37a8eac50593bd724b50efcbc8
BLAKE2b-256 e5cff3915f0d9155af72428f2357c0ebd0542ae7a581478afce6260e2cfb53ff

See more details on using hashes here.

File details

Details for the file picopins-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: picopins-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for picopins-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85261f2383503897be75bb23fb3907190c94a1d414d9666f96ed47987bbae5fb
MD5 121bed11788ab21a3fc94141ce99f204
BLAKE2b-256 d999d61057eda215b5f7ae13f308a2b13a2081952da9dd92e41a37b428eea619

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