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 PD2 must be configured as input with a pull-up resistor for the circult to work.
3 PIN PD2 must be configured as output with a default value of 0, for the circuit to work.
The red LED must be connected in a flipped way (cathode to the 5-volt terminal), for the circuit to work.
When we press the button, the red LED goes on regardless of the configuration of PIN PD2.
 A user wanted to control a red LED and a blue

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!