Question: A user wanted to control a red LED and a blue LED with one button switch: Without pressing, the blue LED should be on and
A user wanted to control a red LED and a blue LED with one button switch: Without pressing, the blue LED should be on and the red LED should be off. When the button is pressed, the blue LED should go off and the red LED should go on To implement this he the following connections.
Evaluate this connection by checking the following statements. In every blank write TRUE or FALSE:
The blue LED connection is okay.
PIN PD must be configured as input with a pullup resistor for the circult to work.
PIN PD must be configured as output with a default value of for the circuit to work.
The red LED must be connected in a flipped way cathode to the volt terminal for the circuit to work.
When we press the button, the red LED goes on regardless of the configuration of PIN PD
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
