//https://forum.arduino.cc/t/my-8x8-dot-matrix-doesnt-work-properly/1275898
#include "LedControl.h"

LedControl dot = LedControl(9,11,10,1); // DIN, CLK CS

void setup() {
  dot.shutdown(0,false);
  dot.setIntensity(0,4);
  dot.clearDisplay(0);
  Serial.begin(9600);
  while(!Serial){}
  Serial.println("Serial Port");
  delay(1000);
}

void loop() {
  // put your main code here, to run repeatedly:
  for(int i=0;i<8;i++)for(int j=i+1;j<8;j++){
    dot.setRow(0,i,0x7E);
    dot.setRow(0,j,0x7E);
    delay(500);
    dot.setRow(0,i,0x00);
    dot.setRow(0,j,0x00);
  }

}
uno1:A5.2
uno1:A4.2
uno1:AREF
uno1:GND.1
uno1:13
uno1:12
uno1:11
uno1:10
uno1:9
uno1:8
uno1:7
uno1:6
uno1:5
uno1:4
uno1:3
uno1:2
uno1:1
uno1:0
uno1:IOREF
uno1:RESET
uno1:3.3V
uno1:5V
uno1:GND.2
uno1:GND.3
uno1:VIN
uno1:A0
uno1:A1
uno1:A2
uno1:A3
uno1:A4
uno1:A5
matrix1:V+
matrix1:GND
matrix1:DIN
matrix1:CS
matrix1:CLK
matrix1:V+.2
matrix1:GND.2
matrix1:DOUT
matrix1:CS.2
matrix1:CLK.2