树莓派练习程序(声音检测)

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