Professional Documents
Culture Documents
A. B.
R=? R=?
I = 20 mA I = 20 mA
Batt Batt
12V I = 20 mA 16V I = 20 mA
LED: Blue
LED: Red
Exercise/Experiment
C.
Batt R1 = ? R2 = ?
24V I = 20 mA
LED: Blue
LED: Yellow
1. Calculation 3. Wiring
R=?
Batt
I = 20 mA
12V
2. Resistor code
1. Calculation 3. Wiring
R1 R2
Batt R1 = ? R2 = ?
24V I = 20 mA
LED: Blue
LED: Yellow
2. Resistor code
R1
1. Calculation 3. Wiring
R=? I = 20 mA
I = 20 mA
Batt
16V I = 20 mA
LED: Red
2. Resistor code
B. Write a sketch that would first make an red LED and yellow LED blink
for the number of times equal to the month and date of your birthday.
Use FOR loop red LED and WHILE loop for yellow LED