0 of 5 questions completed
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 5 questions answered correctly
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Is this wiring diagram correct?
What syntax is correct for turning on “Light” if “Switch1” is ON?
Assume you want to plug an LED into pin 12 on the HERO Board (See image below) and turn it on. What code choice below would allow you to do that?:
Regarding the pinMode() function:
An INPUT can be thought of as something that either a human or the outside world would touch and is data sent into the board. Think Keyboard/Mouse, buttons/sensors. However, an OUTPUT is information sent out by the board. (Think computer/phone screens, music speakers, etc). For example, when you push buttons on a keyboard, the computer will OUTPUT information onto the screen in front of you.
Regarding the digitalWrite() function:
HIGH (In the Arduino IDE) is the same as sending 5V over that pin, supplying it with power. LOW, on the other hand, sends a GROUND (aka GND for short) signal over the pin, removing that power.
Do you have any feedback for us to improve this lesson?
This response will be awarded full points automatically, but it will be reviewed and possibly adjusted after submission.
Which image below is a good representation of what the metal strips would look like if you could use X-ray vision through the pin holes? (DO NOT TAKE OFF BACK OF BREADBOARD, YOU CAN AND WILL BREAK IT THIS WAY).
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.