Arduino Functions

Arduino Functions

Assessment

Flashcard

Computers

8th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

7 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which function would you use to set an output pin to either HIGH or LOW? Options: pinMode(), setup(), digitalWrite(), loop()

Back

digitalWrite()

2.

FLASHCARD QUESTION

Front

This function sets a pin to be used as either INPUT or OUTPUT

Back

pinMode()

3.

FLASHCARD QUESTION

Front

This function pauses the execution of a program for a specified amount of time

Back

delay()

4.

FLASHCARD QUESTION

Front

Which of the following is NOT a built-in Arduino function: setup(), pinMode(), ledPin(), digitalWrite()?

Back

ledPin()

5.

FLASHCARD QUESTION

Front

What are the units of the delay() function?

Back

Milliseconds

6.

FLASHCARD QUESTION

Front

Which function would you use to read input from a joystick? Options: digitalWrite, digitalRead, analogWrite, analogRead

Back

analogRead

7.

FLASHCARD QUESTION

Front

Which function would you use to read input from a key on a keyboard? Options: digitalWrite, digitalRead, analogWrite, analogRead

Back

digitalRead

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?