Need Help ! LED Matrix 8x24

Hi Friend !

I am new here and need some help, this code is working only 1 Matrix module instead or each, If there is any helpful code , inform me ,

Image : Output

#include <LedControl.h> // include led control library
#include <MD_Parola.h>
#include <MD_MAX72xx.h>
#include <SPI.h>
int DIN = 11; // define DIN pin to digital pin 10
int CS =  10; // define CS pin to digital pin 11
int CLK = 13; // define CLK to digital pin 12
LedControl lc=LedControl(DIN,CLK,CS,0);

const int Time_Delay=1;

void setup(){
 lc.shutdown(0,false);       //The MAX72XX is in power-saving mode on startup
 lc.setIntensity(0,5);      // Set the brightness, the maximum is 0,15
 lc.clearDisplay(0);         // and clear the display

 int Time_Delay=1000;
}
void loop(){ 
      mov();
              
}  // loop block end

void printByte(byte character [])
{
  int i = 0;
  for(i=0;i<8;i++)
  {
    lc.setRow(0,i,character[i]); // this is for blank
  }
}


void mov(){
  lc.setRow(2,16,B10000001);
    byte a1[] ={0x80, 0x0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};byte a2[] ={0x40, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
    byte a3[] ={0x20, 0x40, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00};byte a4[] ={0x10, 0x20, 0x40, 0x80, 0x00, 0x00, 0x00, 0x00};
    byte a5[] ={0x08, 0x10, 0x20, 0x40, 0x80, 0x00, 0x00, 0x00};byte a6[] ={0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x00, 0x00};
    byte a7[] ={0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x00};byte a8[] ={0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80};
    byte a9[] ={0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40};byte a10[] ={0x00, 0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20};
    byte a11[] ={0x00, 0x00, 0x00, 0x01, 0x02, 0x04, 0x08, 0x10};byte a12[] ={0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x04, 0x08};
    byte a13[] ={0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x04};byte a14[] ={0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02};
    byte a15[] ={0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01};byte a16[] ={0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
    
    printByte(a1); delay(100);printByte(a2); delay(100); 
    printByte(a3); delay(100);printByte(a4); delay(100); 
    printByte(a5); delay(100);printByte(a6); delay(100); 
    printByte(a7); delay(100);printByte(a8); delay(100); 
    printByte(a9); delay(100);printByte(a10);delay(100); 
    printByte(a11); delay(100);printByte(a12); delay(100); 
    printByte(a13); delay(100);printByte(a14); delay(100); 
    printByte(a15); delay(100);printByte(a16);delay(100); 
  
  }

  
  
  
  //}
LedControl lc=LedControl(DIN,CLK,CS,4);

Either use LedControl or MD_MAX72xx/MD_Parola. Don't mix them up. In your code you are only using LedControl so delete the header references to the other 2 libraries.

PaulRB:

LedControl lc=LedControl(DIN,CLK,CS,4);

Thanks a lot. Its working