User Manual
Now the first pixel is at the top left. Pixels increment top-to-bottom — it’s now column major. The order of the columns
is still progressive though.
We declare the matrix thusly:
The first two arguments — 6 and 12 — are the width and height of the matrix, in pixels. The next two arguments — 11
and 13 — are the pin numbers to which the DotStars are connected (data and clock, respectively). On the FeatherWing
Adafruit_DotStarMatrix matrix = Adafruit_DotStarMatrix(
6, 12, // Width, height
11, 13, // Data pin, clock pin
DS_MATRIX_TOP + DS_MATRIX_LEFT +
DS_MATRIX_COLUMNS + DS_MATRIX_PROGRESSIVE,
DOTSTAR_BGR);
© Adafruit Industries https://learn.adafruit.com/adafruit-dotstar-leds Page 39 of 48