GPIO 引脚
使用 Raspberry Pi® 的 GPIO 引脚
控制和使用 Raspberry Pi 的 GPIO 引脚
对象
raspi | Connection to Raspberry Pi board |
函数
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 |
主题
- 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.
- Raspberry Pi GPIO Pins
GPIO pins on Raspberry Pi hardware.
- Working with Raspberry Pi Hardware
This example shows basics of how to work with Raspberry Pi® Hardware.
疑难解答
Troubleshoot Raspberry Pi GPIO Pins
Troubleshoot GPIO pins on Raspberry Pi hardware.