Lab Problem
Design a simple control systemthat has three switches, amotor, and lights.
Switch_1 turns on the motor (Green LED)
Switch 2 turns on the lights (YellowLED)
Switch_3 turns off both Motor and Lights
1. Draw the wiring diagram
2. Write the code and upload it to D2L
3. Write the code without interrupt