#include <LedControl.h>
#define Din 11
#define CLK 13
#define CS 10
#define Devices 1
//initialisation
LedControl lc = LedControl(Din, CLK, CS, Devices);
void setup() {
// put your setup code here, to run once:
//turn on device
lc.shutdown(0, false);
//set brightness
lc.setIntensity(0, 8);
//clear display
lc.clearDisplay(0);
}
void loop() {
// put your main code here, to run repeatedly:
// lc.setLed(0, 2, 3, true);
// delay(500);
// lc.setLed(0, 2, 3, false);
// delay(500);
byte dataa = B00111110;
// lc.setRow(0, 2, dataa);
// delay(1000);
lc.setColumn(0, 2, dataa);
delay(1000);
}