Capstone quiz 1 Flashcards

Codes from pushbutton to serial monitor

1
Q

Read logic state of pin

A

digitalRead()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

If()

A

If you want to do or not do command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Else()

A

When if command is false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Else if()

A

When first command is false and second command is true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Sets baud rate and begin serial port

A

Serial.begin()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Serial.print()

A

When you want to display some words in serial monitor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Serial.printIn

A

Similar to print but the next word is on the next line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Serial.available()

A

Checks whether the user enetered a data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A continous loop until it becomes false

A

While()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Looks for the next valid integer

A

Serial.parseInt()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Float

A

Composed of numbers that are non integers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Used to store text

A

String/.. Serial.readString()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly