a) What does the program do?

Write the following code in your Arduino IDE, compile it and then upload it to the hardware const int kPinLed = 13; void setup() { pinMode(kPinLed, OUTPUT); } void loop() { digitalWrite(kPinLed, HIGH); delay(500); digitalWrite(kPinLed, LOW); delay(800); } Answer the following questions: a) What does the program do? b) How long does the LED light stays ON ? c) How long does the LED light stays OFF ? d) Write a program that makes the light stays on three times longer than staying off. e) What should you modify in your experiment (software and hardware) if the input pin is 2 instead of 13? f) Does any LED light blink in the Arduino UNO when you make the change in (e)? Explain. g) Hook up 8 LEDs to pins 2 through 9 properly. Write a code that turns on each LED in order and then extinguish them in order.

Unlock Your Academic Potential with Our Expert Writers

Embark on a journey of academic success with Legit Writing. Trust us with your first paper and experience the difference of working with world-class writers. Spend less time on essays and more time achieving your goals.

Order Now