GPIO Pins

Use the Raspberry Pi™’s GPIO pins

Objects

raspiConnection to Raspberry Pi board

Functions

configurePinConfigure GPIO pin as digital input, digital output, or PWM output
readDigitalPinRead logical value from GPIO input pin
writeDigitalPinWrite logical value to GPIO output pin
showPinsShow diagram of GPIO pins

Examples and How To

Use the Raspberry Pi GPIO Pins as Digital Inputs and Outputs

This example shows how to use the digital pins on the Raspberry Pi hardware as digital inputs and outputs.

Concepts

The Raspberry Pi GPIO Pins

GPIO Pins on Raspberry Pi Hardware

Troubleshooting

Troubleshoot Raspberry Pi GPIO Pins

Troubleshoot GPIO Pins on Raspberry Pi Hardware

Featured Examples