使用材料:Arduino leonardo 說明: Arduino本身就有AD轉換功能 ... val = analogRead(analogPin); //這裡的值是轉換值(0~1023),若要顯示數值要改成 ...
確定! 回上一頁