Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Connect two LEDs to your board, one RED and one YELLOW. Ask the user which color LED they want to turn on. Options are RED,
Connect two LEDs to your board, one RED and one YELLOW. Ask the user which color LED they want to turn on. Options are RED, YELLOW, BOTH, or NEITHER. Include a special case for invalid inputs. Turn on the corresponding LEDS. Hints: Read the documentation for the input command, this is a little different from what we did in class. Don't get creative with your circuits, just follow what we did in class. Please remember to not mess with the circuit without first unplugging your board from the computer. Upload both your .m file and a short video of your circuit in action. HINT = help strcmp
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started