Main Content

showPins

Show diagram of GPIO pins

Description

showPins(mypi) displays a diagram of the digital input and output pins on the Raspberry Pi® hardware. The diagram is a high-resolution MATLAB® figure that supports zooming and panning.

Note

To generate C/C++ code for this function, you must have an Embedded Coder® license.

example

Examples

collapse all

You can display a diagram with the name or purpose and location of each GPIO pin on your Raspberry Pi hardware.

Show the location of the pins.

showPins(mypi)

Raspberry Pi 2 Model B

Input Arguments

collapse all

Connection to the Raspberry Pi hardware board, specified as a raspi object.

Extended Capabilities

expand all

Version History

Introduced in R2015b