← 返回命令列表

Linux command

pinout 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

pinout

Example

pinout -x

说明

pinout displays an ASCII diagram of the GPIO header on Raspberry Pi boards. It shows pin numbers, GPIO numbers, and function labels for all 40 pins, helping identify connections for hardware projects. The tool automatically detects the Pi model and displays the appropriate pinout. It's part of the gpiozero Python package's command-line tools.

参数

-x, --xyz
Open pinout.xyz website in default browser
-r _revision_
Show pinout for specific board revision
-c, --color
Force colored output
-m, --monochrome
Force monochrome output

FAQ

What is the pinout command used for?

pinout displays an ASCII diagram of the GPIO header on Raspberry Pi boards. It shows pin numbers, GPIO numbers, and function labels for all 40 pins, helping identify connections for hardware projects. The tool automatically detects the Pi model and displays the appropriate pinout. It's part of the gpiozero Python package's command-line tools.

How do I run a basic pinout example?

Run `pinout` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -x, --xyz do in pinout?

Open pinout.xyz website in default browser