“Draw an Arduino Uno breadboard with a push button connected to D2 using a 10k pull-down resistor, and a red LED on D13 through a 220 ohm resistor.”
그 이면의 의사결정을 읽어 보세요.
The button signal goes to D2.
A 10k resistor holds the input low when open.
A 220 ohm resistor limits LED current from D13.
Use for a simple Arduino input and output exercise.
자주 묻는 질문
Why is a pull-down resistor used?
It keeps the input at a known low level when the button is open.
Why does the LED need a resistor?
It limits current through the LED.
Which pin reads the button?
The button signal is wired to Arduino D2.