摘要: 我们选用超声模块接入Arduino, 接线 Trig口接入2口,Echo接入3口。 const int TrigPin = 2; const int EchoPin = 3; int cm; unsigned long time_ms = 0; void setup() { Serial.begin 阅读全文
posted @ 2018-01-08 10:11 大G霸 阅读(774) 评论(0) 推荐(0) 编辑