const int ROWS = 6;
const int COLS = 30;
int matrix[ROWS][COLS];  // Matrice 6x30di interi
int r = 0;
int c = 0;


void setup() {
  Serial.begin(9600);  // put your setup code here, to run once:
}

void loop() {
  for (r = 0; r < ROWS; r++) {
    r = matrix[ROWS];
   
  for (c = 0; c < COLS; c++) {
     c = matrix[COLS];

 
  }
  Serial.println(matrix[r][c]);  // Print each matrix element
      Serial.print("\t");
  }
  delay(1000);
}