PyRaspBeta

← All practice problems

Raspberry Pi practice problem · Displays

Quarter marks

EasyBudget $14Python · gpiozero

A NeoPixel ring (12 LEDs): DIN on GPIO18, 5 V. Like a clock face, light the quarter marks — pixels 0, 3, 6 and 9 — in cyan (0, 255, 255). Every other pixel stays off.

Tip: range(0, 12, 3).

More in Displays