arduino 参考说明您将使用以下代码从模拟引脚5读取值: int val1 = analogRead(5);. 但是,要从数字引脚5进行读取,您需要将相同的引脚号传递给 digitalRead :
確定! 回上一頁