FINAL EXAM CAPSTONE Flashcards
is one of the tools in Arduino IDE. It is used for two purposes. Arduino - PC vice versa
Serial Monitor
Sends data (command) from PC to Arduino.
PC – Arduino
Receives data from Arduino and display data on screen. This is usually used for debugging and monitoring
Arduino – PC
To send data from Arduino to PC, use the following code
Set baud rate and begin serial port using Serial.begin() function
and send data to serial monitor using Serial.print()
is short for binary digit and is the smallest data unit in a digital system. A bit is either a single 1 or a single 0.
Bit
consists of a series of bits. The most common length for a byte “word” is 8 bits.
Byte
is the rate at which information is transferred in a communication channel.
Baud rate
____ is the standard baud rate
9600
To read data from the serial monitor, first, you need to check whether user entered data or not. To check user data availability, you need to use_________function/command.
Serial.available()
A _____ loop will loop continuously, and infinitely, until the expression inside the parenthesis, () becomes false.
While
Assignment operator :
Equal to:
=
==
Looks for the next valid integer in the incoming serial. The function terminates if it times out.
Serial.parseInt()
a _____is a data type composed of a number that is not an integer, because it includes a fraction represented in decimal format.
Float
_____ are used to store text
Strings
To read a string type of data from the serial monitor, you need to use _____ function/command to capture the string type of data.
Serial.readString()