I have been working on a personal project with a 64x64 led matrix panel and the project was running great and serving its purpose. The issue starts when I tried to add another 64x64 panel to the side so it becomes a 128x64 screen. I'm using an Arduino Mega, two Waveshare P3 64x64 matrix panels, and the RGBmatrixPanel library to interact with the matrix.
When I initialize the library as 64 as the width value, it will show the text (duplicated text on both panels) correctly. But when I initialize the library as 128 as the width value, it will simply do nothing, all pixels are black.
Is it possible to have more than 64 LEDs in width? Thanks in advance.
Code Example:
Code: Select all
#include "RGBmatrixPanel.h"
#define CLK 11
#define OE 9
#define LAT 10
#define A A0
#define B A1
#define C A2
#define D A3
#define E A4
RGBmatrixPanel matrix(A, B, C, D, E, CLK, LAT, OE, false, 164);
void setup() {
matrix.begin();
delay(500);
matrix.setFont(NULL);
matrix.setTextSize(1);
matrix.setTextWrap(false);
matrix.setTextColor(matrix.Color333(7,7,7));
matrix.setCursor(0,0);
matrix.print("Hello world! This is my first test.");
}
void loop(){
}