Pins Flashcards

1
Q

What are digital pins used for?

A

To read or send digital signals

Example: Turning on a LED on/off

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

What commands are associated with digital pins?

A
  • Digital Read (pin)
  • Digital Write (pin)

These commands allow for reading from and writing to digital pins.

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

What are analogue pins used for?

A

To read or send analogue signals

Example: Reading values from sensors

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

What commands are associated with analogue pins?

A
  • Analog Read (pin)
  • Analog Write (pin)

These commands allow for reading from and writing to analogue pins.

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

What are the two common types of pins?

A
  • Input pins
  • Output pins

Input pins receive data from sensors; output pins send data to actuators or LEDs.

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

What is an ‘if’ statement?

A

A conditional statement that runs specific code only if the condition is true

Commonly used to check the state of a button or sensor and respond accordingly.

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

What is an LCD screen?

A

A displaying module that shows text or images using liquid crystal technology

LCD stands for Liquid Crystal Display.

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