The Complete Beginners Guide to Arduino - 2021 - Blink 3 LEDs - Using Millis

The Complete Beginners Guide to Arduino - 2021 - Blink 3 LEDs - Using Millis

Assessment

Interactive Video

Information Technology (IT), Architecture, Physics, Science

University

Hard

Created by

Quizizz Content

FREE Resource

This tutorial explains how to use the Millis function in Arduino to control the blinking of three LEDs at different intervals without using delay functions. It covers the setup of arrays to store timer and state information, the implementation of a for loop to manage LED states, and the logic behind using Millis to track time intervals. The video also includes a detailed code walkthrough and demonstrates the execution of the program on an Arduino board.

Read more

10 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the purpose of the Millis command in Arduino?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

Explain how the Millis counter works when the Arduino is powered on.

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

How can you control the speed of blinking LEDs using the Millis counter?

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Describe the significance of using an unsigned long data type for the Millis counter.

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

What happens to the Millis counter after 49 days of operation?

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 1 pt

How do you declare an array to store the states of the LEDs?

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 1 pt

How does the frequency array affect the blinking pattern of the LEDs?

Evaluate responses using AI:

OFF

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?