树莓派练习程序(火焰检测)

火焰检测模块以下:git 树莓派的引脚以下图:编程 咱们将Vcc引脚链接物理接口2,GND引脚链接物理接口39,DO引脚链接物理接口40。post 实物链接以下图:编码 编程使用WiringPi库,使用wpi引脚编码方式控制GPIO。spa 代码以下:code #include <wiringPi.h> #include <stdio.h> #include <sys/time.h> #defi
相关文章
相关标签/搜索