Pins Flashcards
What are digital pins used for?
To read or send digital signals
Example: Turning on a LED on/off
What commands are associated with digital pins?
- Digital Read (pin)
- Digital Write (pin)
These commands allow for reading from and writing to digital pins.
What are analogue pins used for?
To read or send analogue signals
Example: Reading values from sensors
What commands are associated with analogue pins?
- Analog Read (pin)
- Analog Write (pin)
These commands allow for reading from and writing to analogue pins.
What are the two common types of pins?
- Input pins
- Output pins
Input pins receive data from sensors; output pins send data to actuators or LEDs.
What is an ‘if’ statement?
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.
What is an LCD screen?
A displaying module that shows text or images using liquid crystal technology
LCD stands for Liquid Crystal Display.