Created
June 5, 2018 14:56
-
-
Save HectorTorres/db6d11e1ff88aaff443f301beb580c0d to your computer and use it in GitHub Desktop.
matriz 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "LedControlMS.h" | |
#define MAX 1 // Cuantas matrices se usarán | |
LedControl led=LedControl(8,10,9, MAX); // Creamos una instancia de LedControl | |
void setup() | |
{ | |
for (int x=0; x< MAX ; x++) | |
{ | |
led.shutdown(x,false); // Activar las matrices | |
led.setIntensity(x,8); // Se ajusta el brillo de los LED´s como se desee (0-15) | |
led.clearDisplay(x); // Se borra todo | |
} | |
} | |
void loop() | |
{ | |
led.writeString(0," HeTPro "); //texto que se mostrara en la matriz | |
delay(1000); //se espera 1 segundo | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment