I am currently trying to chain together two 32x64 RGB LED matrices ([64x32 RGB LED Matrix - 4mm pitch : ID 2278 : $39.95 : Adafruit Industries, Unique & fun DIY electronics and kits]). The goal is to have one display a shape while the other is off and vice versa. However, right now I can only get the panels to mirror each other when I chained them together. I am currently using an Arduino mega. I included a simple code I am using below and pictures of the set up. If anyone knows a way I can get these panels to act independently that would be a great help!
#include <RGBmatrixPanel.h>
#define CLK 11
#define OE 9
#define LAT 10
#define A A0
#define B A1
#define C A2
#define D A3
RGBmatrixPanel matrix(A, B, C, D, CLK, LAT, OE, false, 64);
void setup() {
matrix.begin();
matrix.fillRect(0, 0, 20, 20, matrix.Color333(7/7, 7/7, 7/7));
delay(1500);
}
void loop() {
// Do nothing
}
Can you clarify please? If one or the other panel is off, they are not truly acting independently, they could be receiving the same data but one is disabled. This could be done using the OE pins, as suggested by @MaximoEsfuerzo