What is the Arduino IDE's native language? - ANSWER C++
What is an object in object-oriented programming? - ANSWER A
construct that combines functional code with a state
Functional Code - ANSWER Code that does things such as
calculations
States - ANSWER Parts of an object that stores something in memory
What are the three main parts of the Arduino programming language? -
ANSWER functions, values, structure
What are values? - ANSWER variables & constants
digitalRead(pin) - ANSWER Reads the value from a specified digital
pin, either HIGH or LOW
digitalWrite(pin, value) - ANSWER Writes HIGH/LOW value to a digital
pine
Value = HIGH/LOW
pinMode(pin, mode) - ANSWER Configures the pin to behave as either
an input/output
pinMode(pin, mode); what are the three modes? - ANSWER INPUT,
OUTPUT, INPUT_PULLUP
analogRead(pin) - ANSWER Reads the value from an analog pin
Which pins are the analog on the arduino UNO? - ANSWER Those that
range from A0 - A5
, analogReference(type) - ANSWER Configures the reference voltage
used for analog input
Type - which type of reference to use
analogWrite(pin, value) - ANSWER Writes an analog value (PWM
wave) to a pin
random(min, max) - ANSWER generates pseudo-random numbers
delay(ms) - ANSWER pauses the program for the amount of time
specified as parameter
Serial - ANSWER Class used for communication btwn arduino board &
computer/other devices
What are the two main parts of a basic arduino sketch? - ANSWER
void setup() {}
void loop() {}
How does void setup() {} behave? - ANSWER Executes once the
program starts
How does void loop() {} behave? - ANSWER Executes continuously
What is the Serial communication library used for? - ANSWER
Communication btwn arduino board & computer/other devices
Serial.begin(9600); - ANSWER opens the serial port and sets data rate
to 9600 bps
With Serial.begin(), what is the baud rate? - ANSWER bits/second of
communication
Classes - ANSWER Collections of functions
What is an object in object-oriented programming? - ANSWER A
construct that combines functional code with a state
Functional Code - ANSWER Code that does things such as
calculations
States - ANSWER Parts of an object that stores something in memory
What are the three main parts of the Arduino programming language? -
ANSWER functions, values, structure
What are values? - ANSWER variables & constants
digitalRead(pin) - ANSWER Reads the value from a specified digital
pin, either HIGH or LOW
digitalWrite(pin, value) - ANSWER Writes HIGH/LOW value to a digital
pine
Value = HIGH/LOW
pinMode(pin, mode) - ANSWER Configures the pin to behave as either
an input/output
pinMode(pin, mode); what are the three modes? - ANSWER INPUT,
OUTPUT, INPUT_PULLUP
analogRead(pin) - ANSWER Reads the value from an analog pin
Which pins are the analog on the arduino UNO? - ANSWER Those that
range from A0 - A5
, analogReference(type) - ANSWER Configures the reference voltage
used for analog input
Type - which type of reference to use
analogWrite(pin, value) - ANSWER Writes an analog value (PWM
wave) to a pin
random(min, max) - ANSWER generates pseudo-random numbers
delay(ms) - ANSWER pauses the program for the amount of time
specified as parameter
Serial - ANSWER Class used for communication btwn arduino board &
computer/other devices
What are the two main parts of a basic arduino sketch? - ANSWER
void setup() {}
void loop() {}
How does void setup() {} behave? - ANSWER Executes once the
program starts
How does void loop() {} behave? - ANSWER Executes continuously
What is the Serial communication library used for? - ANSWER
Communication btwn arduino board & computer/other devices
Serial.begin(9600); - ANSWER opens the serial port and sets data rate
to 9600 bps
With Serial.begin(), what is the baud rate? - ANSWER bits/second of
communication
Classes - ANSWER Collections of functions