树莓派 GPIO

参考:https://www.raspberrypi.org/documentation/usage/gpio/

1)使用GPIO pinout命令确认板上GPIO配置

  参考:https://pinout.xyz/

概念补充:

WiringPi

  控制树莓派GPIO的C代码库

  WiringPi is a PIN based GPIO access library written in C for the BCM2835, BCM2836 and BCM2837 SoC devices used in all Raspberry Pi. versions.

  参考:http://wiringpi.com/

  

猜你喜欢

转载自www.cnblogs.com/CodeUnknown/p/12793571.html