Answered step by step
Verified Expert Solution
Link Copied!

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,

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning MySQL Get A Handle On Your Data

Authors: Seyed M M Tahaghoghi

1st Edition

0596529465, 9780596529468

More Books

Students also viewed these Databases questions