#include <LedControl.h>
LedControl lc = LedControl(12, 11, 10, 1);
void setup() {
lc.shutdown(0, false);
lc.setIntensity(0, 8); // Helligkeit
lc.clearDisplay(0); // Display löschen
}
void loop() {
// Laufe durch alle Zeilen und Spalten
for (int row = 0; row < 8; row++) {
for (int col = 0; col < 8; col++) {
lc.setLed(0, row, col, true); // Wert: true oder false
delay(100);
lc.setLed(0, row, col, false);
}
}
}