4 · Displays & buses
16×2 LCD display
Intermediate20 min
Goal
Write two lines of text plus an incrementing counter.
Why it matters
The alphanumeric LCD is still the most common display in industry.
Steps
- 01Add the 16×2 LCD (I²C, address 0x27).
- 02Initialise the bus inside setup().
- 03Write a title on line 0.
- 04Show a counter refreshed every second on line 1.
This tutorial runs inside the Circuitly simulator: your wiring and your code are checked automatically at every step.