Our Arduino library will do all the heavily lifting for you.

Visit the RGB Matrix library guide page at to install the Arduino library and load up the examples.

Use the following configuration when uploading example code, and you'll be glowing in a minute!

Download: file
// FeatherWing pinouts for M0 and M4
#define CLK  13
#define OE   1  // TX
#define LAT  0  // RX
#define A   A5
#define B   A4
#define C   A3
#define D   A2
// the RGB data pins on featherwing, must be on same PORT as CLK
uint8_t rgbpins[] = { 6,5,9,11,10,12 };

// Create a 32-pixel tall matrix with the defined pins
RGBmatrixPanel matrix(A, B, C, D, CLK, LAT, OE, false, 32, rgbpins);

For the smaller 16x32 matrix, the last line is a little different:

Download: file
RGBmatrixPanel matrix(A, B, C, CLK, LAT, OE, false, rgbpins);
This guide was first published on Aug 22, 2018. It was last updated on Aug 22, 2018. This page (Usage) was last updated on Dec 05, 2019.