The command that returns the elapsed time since the board was powered on.
What is millis()?
What goes on the missing line?
For( X = 0; _____; X++)
{
}
What is a condition?
This is the most commonly used declaration, saves only whole numbers from -32,768 to 32,768
What is an integer?
What is the range for a button, and what do the min and max mean?
What is 0-1?
Off - On
The refresh rate for our Serial Monitor is what?
9600
The Millis() command always returns a value in what unit of time?
What are milliseconds?
This type of loop will only execute a section of code repeatedly if the condition is true.
What is a while loop?
This variable is used to hold very large numbers. Can be signed or unsigned.
What is a long
What is the range for a potentiometer, and what do the min and max mean?
What is 0-1023?
Lowest - Highest
The main difference between a conductor and an insulator.
Conductors allow the flow of current; insulators do not.
To make something happen after five seconds, what should the difference between startTime and endTime be?
What is 5000?
I want to make a for loop that increases the count by two each time it runs. What would I put as the update to achieve this?
What is i+=2?
This variable type can hold text.
What is a string?
The range of possible readings for a digital sensor.
What is 0-1?
Ohm's Law describes the fundamental relationship in electrical circuits. What three things are measured using Ohm’s Law?
What are voltage, current, and resistance?
What kind of variable do we save millis() as?
What is an unsigned long?
This goes in the parentheses of a while loop.
while(_____)
What is a condition?
A student is storing the number of times a loop has run, and the value will stay relatively small and never include decimals. Which variable type should they use?
What is an integer (int)?
The range of possible readings for a positional servo motor.
What is 0-180?
(A servo motor moves in degrees!)
What is a resistor?
This line of code will print the current time since the board turned on in seconds.
How many times will this loop repeat?
While (x<5)
{
Int x =0;
x++;
}
What is an infinite number of times?
A student is using the millis() command to make a countdown timer until winter break. What variable type should they use to store this number?
What is an unsigned long?
If a potentiometer is reading 512, what position is the potentiometer at?
What is the middle?
Why is a resistor commonly used with an LED in a circuit?
What is to limit the current and protect the LED from burning out?