在Arduino 中要讀取ADC 的輸入很簡單,但一樣要先在 setup() 中加入的設定。 ... int val = 0; // 讀到的數值 ... int val = 0; // 存放ADC 數值.
確定! 回上一頁