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.
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
Achknowledgements
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.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
- Initial Release
- Ported from https://gist.github.com/Gadgetoid/192af85a3eb05d4a6ac1db076c4ef118
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
Built Distribution
File details
Details for the file picopins-1.1.0.tar.gz
.
File metadata
- Download URL: picopins-1.1.0.tar.gz
- Upload date:
- Size: 42.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a257f11f9917593a032220dcee49b82ae71ab56d08ee6d1d2c57d903f6d5eeda |
|
MD5 | a6391ff0c92e5a4d6a7bded9e34bff6f |
|
BLAKE2b-256 | 2bd5ce2f9f6c910b7ea391e511c920d4cb0db57bdffab4cf9e16ce093a299c3f |
File details
Details for the file picopins-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: picopins-1.1.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3c6e72d04cf2428418ec29eadf5b11fa3ee6d96e72d02d5131f5d873e0ebca2 |
|
MD5 | 93b0dc01d2bb6146116c4183ae52b0fa |
|
BLAKE2b-256 | 983224de642b7a4dd8472dedc7f312280c67378a66e286a3c0ff3ce83ad86997 |