Main Content

showPins

Show diagram of GPIO pins

Add-On Required: This feature requires the MATLAB Support Package for Raspberry Pi Hardware add-on.

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.

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)

Input Arguments

collapse all

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