Digital Lecture Assignment 2
Part 1) Fix this broken circuit:
Link to working Tinkercad circuit: https://www.tinkercad.com/things/kYpvV1CcXu9
Part 2) Explain this code in English:
Function1() basically makes each LED blink. But when all switches are open, the LEDs will blink down the chain from left to right with 500milliseonds between each blink. Function2() basically makes it so that when one LED is on and blinking, no other LED in the circuit can be on. Finally, Function3() makes each LED(that is active) blink at the same time will 500milliseconds inbetween.
Part 3) Simplify the code from Part 2 as much as possible:
Link to working Tinkercad circuit: https://www.tinkercad.com/things/626pyXzyVvq