// Micro Robotics
#include "LedControl.h"
#include "binary.h"
#define DIN 3
#define CS 4
#define CLK 5
#define DEV 1 //No of Devices
LedControl lc=LedControl(DIN,CLK,CS,DEV);
void setup() {
lc.shutdown(0,false);
lc.setIntensity(0,8); // Set the brightness (0-15)
lc.clearDisplay(0);
}
void loop() {
lc.setRow(0,0,B00000110); //ROW 0 COLUMN 0
lc.setRow(0,1,B00000101); //ROW 1 COLUMN 0
lc.setRow(0,2,B00001111); //ROW 2 COLUMN 0
lc.setRow(0,3,B00011100); //ROW 3 COLUMN 0
lc.setRow(0,4,B00111100); //ROW 4 COLUMN 0
lc.setRow(0,5,B01111010); //ROW 5 COLUMN 0
lc.setRow(0,6,B11101000); //ROW 6 COLUMN 0
lc.setRow(0,7,B00001100); //ROW 7 COLUMN 0
delay(5000);
lc.setRow(0,0,B00111100); //ROW 0 COLUMN 0
lc.setRow(0,1,B01000010); //ROW 1 COLUMN 0
lc.setRow(0,2,B10100101); //ROW 2 COLUMN 0
lc.setRow(0,3,B10100101); //ROW 2 COLUMN 0
lc.setRow(0,4,B10000001); //ROW 0 COLUMN 0
lc.setRow(0,5,B10011001); //ROW 0 COLUMN 0
lc.setRow(0,6,B01000010); //ROW 0 COLUMN 0
lc.setRow(0,7,B00111100); //ROW 7 COLUMN 0
delay(5000);
lc.setRow(0,0,B00000000); //ROW 0 COLUMN 0
lc.setRow(0,1,B00110110); //ROW 1 COLUMN 0
lc.setRow(0,2,B01111111); //ROW 2 COLUMN 0
lc.setRow(0,3,B01111111); //ROW 0 COLUMN 0
lc.setRow(0,4,B01111111); //ROW 0 COLUMN 0
lc.setRow(0,5,B00111110); //ROW 0 COLUMN 0
lc.setRow(0,6,B00011100); //ROW 0 COLUMN 0
lc.setRow(0,7,B00001000); //ROW 7 COLUMN 0
delay(5000);
lc.clearDisplay(0);
delay(1000);
}