Main Content

GPIO 引脚

使用 Raspberry Pi® 的 GPIO 引脚

控制和使用 Raspberry Pi 的 GPIO 引脚

对象

raspiConnection to Raspberry Pi board

函数

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

主题

疑难解答

Troubleshoot Raspberry Pi GPIO Pins

Troubleshoot GPIO pins on Raspberry Pi hardware.