what is data?
information that an arduino can process
what is a variable?
a container for data
why do we work with variables?
its easier to work with data
- easy to find
- easy to move
- easy to store
- easy to know what is what and hoe to store it
types of data
integers: whole numbers
float: decimal numbers
char: keys on your keyboard
boolean: statements that are either 1 or 0/true or false/ yes or no
pieces of information for the arduino
variable type
variable name
data
e.x) string name= (“sam”); or int score=(999);