A C++ library and utilities that drive chained RGB LED matrix panels from Raspberry Pi GPIO pins.
Overview
This library controls common HUB75 RGB LED panels such as 128×64, 64×64, 32×32, and 16×32 matrices from a Raspberry Pi. It can chain multiple panels, supports up to three parallel chains on many Pi models, and targets true color output with PWM up to 11 bits per channel on supported hardware.
The RGBMatrix API sits at the center: applications link the library directly or start from included demos and command-line utilities for images, GIFs, and video-oriented workflows. Python bindings exist and can be installed as a package. Command-line flags configure row and column geometry, multiplexing mode, panel chipset, and slowdown when panels cannot keep pace with the Pi.
Panel support focuses on non-PWM HUB75 variants with direct or shift-register row addressing; newer PWM panel types are called out as not supported in the main library path. Raspberry Pi models from legacy 26-pin boards through Pi 5 and compute modules are described, including Pi 5 RP1 PIO backend options.
External projects can wrap the same API—for example SDL-based desktop emulation—while wiring guides cover self-wiring and adapter boards for multiple output channels.
Key features
- HUB75 panel chains via GPIO
- Up to 24-bit color with PWM
- C++, C, and Python APIs
- Demo and utility binaries
- Configurable multiplexing flags
- Multi-chain output on 40-pin Pis
- Pi 5 RP1 PIO backends
- Panel pixel mapper hooks
Use cases
- LED scoreboards and signs
- Animated GIF or video walls
- Custom matrix art installations
- Python-controlled display projects