#include <LedControl.h>
int DIN = 11;
int CS = 10;
int CLK = 13;
int position = 0;
LedControl lc = LedControl(DIN, CLK, CS,1);
void setup() {
lc.shutdown(0, false);
lc.setIntensity(0, 10);
lc.clearDisplay(0);
}
int counter = 0;
void loop() {
counter++;
if (counter % 2 == 1) {
lc.setLed(0,0,7,true);
} else {
lc.setLed(0,0,7,false);
}
delay(1000);
}