Our Arduino library will do all the heavily lifting for you.
Visit the RGB Matrix ProtoMatter library guide page at https://learn.adafruit.com/adafruit-protomatter-rgb-matrix-library 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!
// Use FeatherWing pinout
uint8_t rgbPins[] = {6, 5, 9, 11, 10, 12};
uint8_t addrPins[] = {A5, A4, A3, A2};
uint8_t clockPin = 13;
uint8_t latchPin = 0;
uint8_t oePin = 1;
// Create a 32-pixel tall, 64 pixel wide matrix with the defined pins
Adafruit_Protomatter matrix(
64, 4, 1, rgbPins, 4, addrPins, clockPin, latchPin, oePin, false);
// Special nRF52840 FeatherWing pinout
uint8_t rgbPins[] = {6, A5, A1, A0, A4, 11};
uint8_t addrPins[] = {10, 5, 13, 9};
uint8_t clockPin = 12;
uint8_t latchPin = PIN_SERIAL1_RX;
uint8_t oePin = PIN_SERIAL1_TX;
// Create a 32-pixel tall, 64 pixel wide matrix with the defined pins
Adafruit_Protomatter matrix(
64, 4, 1, rgbPins, 4, addrPins, clockPin, latchPin, oePin, false);
For the smaller 16x32 matrix, the last line is a little different:
Adafruit_Protomatter matrix( 32, 4, 1, rgbPins, 3, addrPins, clockPin, latchPin, oePin, false);
Page last edited March 08, 2024
Text editor powered by tinymce.