Arduino Microcontroller and Basic Arduino Codes and Syntax Flashcards

1
Q

Difference of Microcontroller and Microprocessor?

A

Microcontroller: Single Chip
Microprocessor: Multiple Chip

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

Describe the Arduino Microcontroller.

A
  1. open-source, microcontroller board
  2. prototyping, tool
  3. powerful chip, ATmega328P
  4. electronics, programming
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

It is used to write Arduino codes.

A

Arduino IDE

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

TRUE OR FALSE: Arduino codes are case-sensitive.

A

TRUE

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

What is the file generated or save in Arduino IDE called?

A

sketch

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

Code that sets up program by initializing the variables and values, pin modes, etc.

A

void setup()

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

Code that consecutively loops a certain line of codes.

A

void loop()

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

Code that is used to set up a specific pin as either digital input or output.

A

pinMode()

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

Code that writes HIGH or LOW value to a digital pin.

A

digitalWrite()

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

Code that causes the program to pause for a specific period of time in milliseconds.

A

delay()

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