Bird
0
0
Arduinoprogramming~5 mins

16x2 LCD with LiquidCrystal library in Arduino - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does the '16x2' mean in a 16x2 LCD?
It means the LCD has 16 columns and 2 rows, so it can show 16 characters per line and has 2 lines in total.
Click to reveal answer
beginner
What is the purpose of the LiquidCrystal library in Arduino?
The LiquidCrystal library helps you control LCD screens easily by providing commands to display text, clear the screen, and move the cursor.
Click to reveal answer
beginner
How do you initialize a 16x2 LCD using the LiquidCrystal library?
You create a LiquidCrystal object with the pins connected to the LCD, then call lcd.begin(16, 2) to set the size.
Click to reveal answer
beginner
What does the command lcd.setCursor(0, 1) do?
It moves the cursor to the first column (0) of the second row (1) on the LCD, so the next text will start there.
Click to reveal answer
beginner
How do you print 'Hello' on the LCD using LiquidCrystal?
Use lcd.print("Hello"); after setting the cursor position to display the text on the screen.
Click to reveal answer
What is the correct way to start using a 16x2 LCD with LiquidCrystal?
Alcd.begin(16, 2);
Blcd.start(2, 16);
Clcd.init(2, 16);
Dlcd.open(16, 2);
Which command clears all text from the LCD screen?
Alcd.clear();
Blcd.reset();
Clcd.erase();
Dlcd.clean();
If you want to print text on the second line, which cursor position should you use?
Alcd.setCursor(1, 1);
Blcd.setCursor(0, 1);
Clcd.setCursor(1, 0);
Dlcd.setCursor(0, 0);
Which library do you include to use a 16x2 LCD in Arduino?
A#include <LCD.h>
B#include <Display.h>
C#include <LiquidCrystal.h>
D#include <Screen.h>
What does lcd.print("Hi") do?
ATurns off the LCD.
BClears the LCD screen.
CMoves the cursor to the start.
DDisplays 'Hi' on the LCD at the current cursor position.
Explain how to connect and initialize a 16x2 LCD using the LiquidCrystal library in Arduino.
Think about wiring, code setup, and commands to show text.
You got /5 concepts.
    Describe the steps to display a message on the second line of a 16x2 LCD using LiquidCrystal.
    Remember rows start at 0, so second line is row 1.
    You got /3 concepts.