12. Big Panels and Images - frc2052/2052-LED-Training GitHub Wiki

With the Adafruit Matrix library you can combine many small panels to create big panels in something called a [https://learn.adafruit.com/adafruit-neopixel-uberguide/neomatrix-library](tiled matrix)

KnightKrawler has a 32x32 pixel panel that is made up of 4 16x16 panels. The difference in how the matrix is configured is described in the documentation, but bellow is the setup for our 32x32 panel.

Adafruit_NeoMatrix matrix = Adafruit_NeoMatrix(16, 16, 2, 2, PIN,
NEO_MATRIX_TOP     + NEO_MATRIX_LEFT +
NEO_MATRIX_COLUMNS + NEO_MATRIX_ZIGZAG +
NEO_TILE_TOP + NEO_TILE_LEFT +
NEO_TILE_ROWS + NEO_TILE_PROGRESSIVE,
NEO_GRB + NEO_KHZ800);

You can use the text example from the previous lesson to test the matrix setup, but change one line of code to move the text to the middle of the panel. This will move the cursor down 12 pixels.

matrix.setCursor(x, 12);