Sitelet https://github.com/gpiozero/gpiozero/issues/1198
Skip to content

list board revisions in pinout --help #1198

Description

@petaflot

current pinout --help

usage: pinout [-h] [--version] [-r REVISION] [-c] [-m] [-x]

A utility for querying GPIO pin-out information.

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -r REVISION, --revision REVISION
                        Board revision. Default is to autodetect revision of current device
  -c, --color           Force colored output (by default, the output will include ANSI color codes if run in
                        a color-capable terminal). See also --monochrome
  -m, --monochrome      Force monochrome output. See also --color
  -x, --xyz             Open pinout.xyz in the default web browser

desired output [snip]:

  -r REVISION, --revision REVISION
                        Board revision. Default is to autodetect revision of current device ; one of:
                        A,B,A+,B+,2B,CM,3B,Zero,CM3,Zero W,3B+,3A+,CM3+,4B,Zero2W,400,CM4,5B

this is especially useful if not using autodetect

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions