All tutorials

3 · Outputs & actuators

8×8 LED matrix

Expert30 min

Goal

Display a pattern by scanning row by row.

Why it matters

Persistence of vision lets you show 64 pixels with only 16 pins.

Steps

  1. 01Add the LED matrix to the canvas.
  2. 02Store the pattern in an array of 8 bytes.
  3. 03Scan the rows very fast (~1 ms per row).
  4. 04Check that the image looks stable.

This tutorial runs inside the Circuitly simulator: your wiring and your code are checked automatically at every step.

Next tutorials