Weeks 1-4 Flashcards
Control structure which allows one to execute a code a given number of times
For Loop
Control structure which tests whether a certain condition has been reached, executing enclosed statement only given that its condition is true
If Statement
Logical operator which is true only if all conditions are satisfied
And (&&)
Logical operator which is true if any condition is satisfied
Or (||)
Logical operator which reverses the meaning of a condition
Not (!)
Symbols which take one or more operands or expressions and perform arithmetic or logical computations
Operators
Variables which are used in conjunction with operators to evaluate an expression
Operands
Tool which allows an Arduino board to interact with the computer and its user
Serial Communication
Serial keyword which sets the data rate in bits per second (usually 9600)
begin()
Serial keyword which prints the next message on the same line as the previous
print()
Serial keyword which prints the next message on a new line
println()
A text in double quotes which is printed as is but without the quotation marks
String
Serial keyword which retrieves what data is ready for reading from the serial port
available()
Serial keyword which disables serial communication
end()
Control structure which loops continuously until the expression within its parentheses becomes false
While Loop
Control structures which loop continuously until a condition is met, where the condition is tested at the end of the loop
Do-While Loop