Question: Arduino java Write a full Arduino sketch to turn 2 LEDs on and off. The first LED (LED 1) is connected to pin 9 and

 Arduino java Write a full Arduino sketch to turn 2 LEDs

Arduino java

Write a full Arduino sketch to turn 2 LEDs on and off. The first LED (LED 1) is connected to pin 9 and the second LED (LED 2) is connected to pin 11. The operation of the LEDs is as follows: LED 1 should be on for 3 seconds. LED 2 should be on for 5 seconds. LED 1 should be off when LED 2 is on. LED 2 should be off when LED 1 is on. . Be sure to: Declare variables for the pins Setup the pins

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!