EEE 202 Arduino Tutorial
EEE 202 Arduino Tutorial
* Don’t power through the barrel jack and USB at the same time*
● pinMode(pin#, _) - specifies which pins act as inputs and which act as outputs
● int - associates an integer value with a variable name
● unsigned long - sets a variable and stores 32 bits
● Serial.begin() - how quickly information is stored in bits/s. (data rate)
● if{ else{ }} - sets conditions where if they are fulfilled runs the code between if and else and if not
after else
● Serial.print() - prints data to serial port
Coding