Question: 8) Given the schematic and Arduino code, circle on the schematic what button(s) need to be pressed in order to turn BOTH the green and

8) Given the schematic and Arduino code, circle on the schematic what button(s) need to be pressed in order to turn BOTH the green and red LEDs ON (5 points).

Name: 8) Given the schematic and Arduino code, circle on the schematic

 

Name: 8) Given the schematic and Arduino code, circle on the schematic what button(s) need to be pressed in order to turn BOTH the green and red LEDs ON (5 points). 5V Parti LEDI Green (565nm) wK 5V DOR DE PW Arduino Uno (Rev3) D9 PM 10 PRMISS D11 PRIMMOS ww LEDZ Red (633nm) SV Switch 1 Switch 2 www Switch 3 } if (digitalRead(13) == 0 digitalRead(12) == 1 digitalRead(11) == 0 ss digitalRead(10) == 1) digitalWrite(4, HIGH); digitalWrite(2, LOW); else if (digitalRead(12) 0 digitalRead(13) == 1 digitalRead(10)==0 s digitalRead(11) == 0) digitalWrite(2, HIGH); digitalWrite(4, LOW); else if (digitalRead(11) == 1 digitalRead(13) == 0 digitalRead (10)==1 digitalWrite(2, HIGH); digitalWrite(4, HIGH); else digitalRead (12) == 1) 1 digitalWrite(4, LOW); digitalWrite(2, LOW); 4 of 5 Hli ww Switch 4

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 Accounting Questions!