PyRaspBeta

← All practice problems

Raspberry Pi practice problem · Displays

Lights out

EasyBudget $12Python · gpiozero

A 16×2 I²C LCD (0x27, SDA/SCL, 5 V). Show Good night! on the first line (second line empty) with the backlight on. At 2 s, switch the backlight off — the text stays in the display's memory.

Tip: lcd.backlight_enabled = False.

More in Displays