Arduino 控制超声波测距模块

一.实物图

二.例子代码

用到数字2 和3 引脚,还有两个就是vcc GND两个阴脚,用模块连线比较简单

原文地址:https://www.cnblogs.com/caoguo/p/4785700.html