Tinkercad Circuits:一個腳位偵測多顆按鈕(Multiple Buttons with One Analog Pin)
1 min readSep 24, 2018
本文要說明如何使用一個Arduino Analog Pin 來偵測多個按鈕(Push Buttons)的其中一顆按鈕是否有被按下。
材料(Materials):
- Arduino UNO R3 x 1
- Buzzer x 1
- 10K ohm Resistor x 4
- Pushbutton x 3
- 100 ohm Resistor x 1
- Small Breadboard x 1
電路(Circuit):
程式碼(The Code):
示範影片(Demo Video):
範例連結(Example Link):
Originally published at yunlinsong.blogspot.com on September 24, 2018.