GPIO Pins
Use the Raspberry Pi®’s GPIO pins
Objects
raspi | Connection to Raspberry Pi board |
Functions
configurePin | Configure GPIO pin as digital input, digital output, or PWM output |
readDigitalPin | Read logical value from GPIO input pin |
writeDigitalPin | Write logical value to GPIO output pin |
showPins | Show 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
- Raspberry Pi GPIO Pins
GPIO pins on Raspberry Pi hardware.
Troubleshooting
Troubleshoot Raspberry Pi GPIO Pins
Troubleshoot GPIO pins on Raspberry Pi hardware.