|
|
|
@ -37,9 +37,6 @@ int frameDelay = 500;
|
|
|
|
|
|
|
|
|
|
void setup(){
|
|
|
|
|
|
|
|
|
|
Serial.begin(BAUD_RATE);
|
|
|
|
|
Serial.println("Starting pattern test...");
|
|
|
|
|
|
|
|
|
|
// redefine pins if required
|
|
|
|
|
HUB75_I2S_CFG::i2s_pins _pins={R1, G1, BL1, R2, G2, BL2, CH_A, CH_B, CH_C, CH_D, CH_E, LAT, OE, CLK};
|
|
|
|
|
HUB75_I2S_CFG mxconfig(PANEL_WIDTH, PANEL_HEIGHT, PANELS_NUMBER, _pins);
|
|
|
|
@ -53,7 +50,7 @@ void setup(){
|
|
|
|
|
|
|
|
|
|
matrix = new MatrixPanel_I2S_DMA(mxconfig);
|
|
|
|
|
matrix->begin();
|
|
|
|
|
matrix->setBrightness8(128);
|
|
|
|
|
matrix->setBrightness8(64);
|
|
|
|
|
matrix->fillScreenRGB888(0, 0, 0);
|
|
|
|
|
|
|
|
|
|
gif.begin(LITTLE_ENDIAN_PIXELS);
|
|
|
|
|