#include <LedControl.h>
#define MAX_SEG 1
LedControl matrix = LedControl(8, 10, 9, MAX_SEG); // MAX7219
//Din,CLk, Cs
void setup () { //Serial.begin(9600);
matrix.shutdown(0, false);//Not obligated for Wokwi
matrix.setIntensity(0, 7); } // 7=макс?
int x=0, y=0;
void loop () {
matrix.setLed (0, y, x, true);
delay (1000);
x=x+1;
}
// Мише НЕ надо
// Закраска (движение) по y, проверить
// for (int y = 0; y < 7; y++) { matrix.setLed (0, y, x, true);
// matrix.clearDisplay(0);
// delay (100); }