4 Arduino: Digital Inputs

4 Arduino: Digital Inputs

Assessment

Flashcard

Computers

11th Grade

Hard

Created by

Quizizz Content

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the function of 'pinMode(6, OUTPUT);' in the setup function?

Back

It sets the 6 pin as an output.

2.

FLASHCARD QUESTION

Front

What is the role of 'digitalWrite(grnLED, LOW);' in the loop function?

Back

It turns the LED off.

3.

FLASHCARD QUESTION

Front

What is the initial state of the grnLED when button A is not pressed?

Back

OFF

4.

FLASHCARD QUESTION

Front

What is the effect of adding a delay in the loop function?

Back

It slows down the program

5.

FLASHCARD QUESTION

Front

What happens if you do not start serial communication in the setup function?

Back

The Serial Monitor will not display messages

6.

FLASHCARD QUESTION

Front

What is a digital device?

Back

A device that only has two states: on or off/high or low

7.

FLASHCARD QUESTION

Front

What is an analog device?

Back

A device that has many states: usually anywhere from 0 to 225.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?