配合slider控制servo轉動
透過slider的讀數來控制servo如何轉動
當slider以最大幅度推動時,servo便以最大幅度轉動.
所需的配件 :
micro:bit x 1
180 Degree Servo x 1
8 outputs 6 inputs 3.3 and 5V I/O board for the micro:bit
male - male jumper wire x 3
Grove - 4 pin male jumper to Grove 4 pin Conversion x 1
電路圖概覽 :
Coding 概覽 :
youtube 示範片段 :