arduino的analogRead()

模拟输入analogRead()函数的返回值范围是0到1023。

val = analogRead(potpin); 用于读取传感器的模拟值

原文地址:https://www.cnblogs.com/codeit/p/15538388.html