Chapter 1 Test Flashcards
Arduino programs
Sketch
A container for statements (lines of code) that tell Arduino to do certain jobs
Function
9600 binary ones and zeros per second
Baud Rate
A notation for other programmers to read. Anything to the right of // is this
Comment
The statements in between a loop function’s curly braces
Block
Names you can create for storing, retrieving, and using values in the Arduino microcontroller’s memory
Variables
Tells the Arduino software what type of variable (or data type) it’s dealing with. Short for Integer
Int
Declares a variable for storing characters
Char
Can hold decimal values
Float
Stands for American Standard Code for Information Exchange. A common code system for representing computer keys and characters in displays
ASCII
Variables inside a function block (inside the function’s curly braces)
Local Variable
Variables outside of any function, preferably before the setup function
Global Variable
A named value that does not change throughout the sketch
Constant
&& means ‘and’; || means ‘or’
Boolean Operators
Commonly used for repeating a block of code a certain number of times
For Loop