#include <MatrizLed.h>
MatrizLed pantalla;
int retardo = 100;
int retardo2 = 50;
void setup() {
// put your setup code here, to run once:
pantalla.begin(12,11,10,1); // (Dpin,Clk,cs,#matrices)
pantalla.setIntensidad(5); // de 1 a 15 donde 15 es la mayor intensidad
pantalla.borrar();
delay(2000);
}
void loop(){
pantalla.setLed(0, 1, 1, true );
pantalla.setLed(0, 6, 6, true );
pantalla.setLed(0, 5, 0, true );
pantalla.setLed(0, 5, 7, true );
pantalla.setLed(0, 7, 2, true );
pantalla.setLed(0, 4, 0, true );
pantalla.setLed(0, 7, 5, true );
pantalla.setLed(0, 4, 7, true );
pantalla.setLed(0, 6, 1, true );
pantalla.setLed(0, 7, 3, true );
pantalla.setLed(0, 7, 4, true );
pantalla.setLed(0, 3, 1, true );
pantalla.setLed(0, 3, 2, true );
pantalla.setLed(0, 3, 3, true );
pantalla.setLed(0, 3, 4, true );
pantalla.setLed(0, 3, 5, true );
pantalla.setLed(0, 3, 6, true );
pantalla.setLed(0, 6, 2, true );
pantalla.setLed(0, 6, 3, true );
pantalla.setLed(0, 6, 4, true );
pantalla.setLed(0, 6, 5, true );
pantalla.setLed(0, 1, 5, true );
delay(2000);
pantalla.borrar();
delay(1000);
pantalla.setLed(0, 0, 2, true );
pantalla.setLed(0, 1, 1, true );
pantalla.setLed(0, 1, 3, true );
pantalla.setLed(0, 1, 7, true );
pantalla.setLed(0, 0, 6, true );
pantalla.setLed(0, 1, 5, true );
pantalla.setLed(0, 4, 1, true );
pantalla.setLed(0, 4, 6, true );
pantalla.setLed(0, 5, 3, true );
pantalla.setLed(0, 5, 4, true );
pantalla.setLed(0, 5, 2, true );
pantalla.setLed(0, 5, 5, true );
pantalla.setLed(0, 1, 1, true );
delay(3000);
pantalla.borrar();
delay(1000);
pantalla.setLed(0, 6, 6, true );
pantalla.setLed(0, 5, 0, true );
pantalla.setLed(0, 5, 7, true );
pantalla.setLed(0, 7, 2, true );
pantalla.setLed(0, 4, 0, true );
pantalla.setLed(0, 7, 5, true );
pantalla.setLed(0, 4, 7, true );
pantalla.setLed(0, 6, 1, true );
pantalla.setLed(0, 7, 3, true );
pantalla.setLed(0, 7, 4, true );
pantalla.setLed(0, 3, 1, true );
pantalla.setLed(0, 3, 2, true );
pantalla.setLed(0, 3, 3, true );
pantalla.setLed(0, 3, 4, true );
pantalla.setLed(0, 3, 5, true );
pantalla.setLed(0, 3, 6, true );
pantalla.setLed(0, 6, 2, true );
pantalla.setLed(0, 6, 3, true );
pantalla.setLed(0, 6, 4, true );
pantalla.setLed(0, 6, 5, true );
pantalla.setLed(0, 1, 5, true );
pantalla.setLed(0, 1, 1, true );
delay(2000);
pantalla.borrar();
delay(2000);
}