
003 - Controlling LEDs in Arduino
Flashcard
•
Computers
•
12th Grade
•
Hard
Roy Nepomuceno
Used 1+ times
FREE Resource
Student preview

11 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is digitalWrite?
Back
digitalWrite is an Arduino function used to set the voltage level on a digital pin, controlling whether a pin outputs a HIGH (ON) or LOW (OFF) signal.
2.
FLASHCARD QUESTION
Front
What are the parameters of the digitalWrite function?
Back
digitalWrite(pin, value); where 'pin' is the pin number and 'value' can be HIGH or LOW.
3.
FLASHCARD QUESTION
Front
What does LOW represent in digitalWrite?
Back
LOW represents 0 volts or a logic level 0, turning the connected device OFF.
4.
FLASHCARD QUESTION
Front
What does HIGH represent in digitalWrite?
Back
HIGH represents the operating voltage of the Arduino board, usually 5 volts, turning the connected device ON.
5.
FLASHCARD QUESTION
Front
How does digitalWrite work for an LED?
Back
digitalWrite(pin, HIGH) supplies voltage to the LED, turning it ON; digitalWrite(pin, LOW) cuts off the voltage supply, turning the LED OFF.
6.
FLASHCARD QUESTION
Front
What is a practical example of using digitalWrite with an LED?
Back
Connecting an LED to pin 5: Writing HIGH to pin 5 sends 5V to the LED, causing it to light up; writing LOW stops the voltage, turning the LED off.
7.
FLASHCARD QUESTION
Front
What must be done before using digitalWrite on a pin?
Back
The pin must be set as OUTPUT using pinMode(pin, OUTPUT).
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Classroom Verbs for Grade 12
Flashcard
•
12th Grade
10 questions
Kuis Pengetahuan Kesehatan
Flashcard
•
12th Grade
15 questions
Técnicas Grafoplásticas Esenciales
Flashcard
•
KG
11 questions
Ancient Civilization and Western Culture
Flashcard
•
12th Grade
10 questions
Mass Media Essentials
Flashcard
•
12th Grade
13 questions
Passive voice (Present Simple,Past Simple,Future Simple)
Flashcard
•
12th Grade
10 questions
Sistem Koordinat Gambar dan Perancangan dengan CAD
Flashcard
•
10th Grade - University
10 questions
Serunya Transmisi Data
Flashcard
•
11th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade