麵包板x 1; Arduino 主板x 1; 伺服馬達(Servo Motor) x 1; 10k 可變電阻x 1 ... analogRead(potpin); // 讀取可變電阻(數值介於0 到1023) val = map(val, 0, 1023, 0, ...
確定! 回上一頁