Question: do this using tinkercad please both tasks Build a circuit with LEDs and a pushbutton 1.1. Build the circuit shown below using 3 LEDs (Red,
Build a circuit with LEDs and a pushbutton 1.1. Build the circuit shown below using 3 LEDs (Red, Yellow and Green) and a pushbutton as input from the user. Each LED is connected through a 390 resistor to a digital pin, note that the pushbutton is connected through a pullup resistor (10K ). Take a photo of your circuit and copy it on the Lab Assignment 5_answer sheet at BB under Task 1_Ciruit. [20\%] 1.2. What is the purpose of using the resistor 10K ? [10%] ... TQ. . limit. the . current. Hiow. Hrough. . He lED. and to prenent... the excess. Curent. that. con burn. aut. or. in other. words to .. control the brightness. . Of .. the. (LED. J. Using a pushbutton as a user input to control the LEDs 2.1. Write a code that would make the Red LED turn on when the pushbutton is pressed and the green will be on when the pushbutton is released. Include your comments to explain your code. Copy it to Lab Assignment 5_answer sheet at BB under Task 2. [20\%]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
