User Manual
Should be changed to:
(Any of digital pins 10-13 and 50-53 can be used for this function on the Mega, with the corresponding wiring change.
The examples all reference pin 11.)
If using an Adafruit Metro M4 (
not
M0 or 328), the CLK change would instead be:
After uploading, with the 16x32 panel you should see the following:
This is a test pattern that shows 512 colors (out of 4096) on the 512 pixels. Since there's no really elegant way to show
a 3-dimensional color space (R/G/B) in two dimensions, there's just repeating grids of red/green with increasing blue.
Anyways, this shows you the range of colors you can achieve!
or, with the 32x32 panel:
#define CLK 8 // MUST be on PORTB! (Use pin 11 on Mega)
#define CLK 11
#define CLK A4
© Adafruit Industries https://learn.adafruit.com/32x16-32x32-rgb-led-matrix Page 33 of 44










