#include <MD_Parola.h>
#include <MD_MAX72xx.h>
#include <SPI.h>
#define HARDWARE_TYPE MD_MAX72XX::PAROLA_HW
#define MAX_DEVICES 13
#define CLK_PIN 13
#define DATA_PIN 11
#define CS_PIN 10
MD_Parola DotMatrix = MD_Parola(HARDWARE_TYPE, DATA_PIN, CLK_PIN, CS_PIN, MAX_DEVICES);
void setup(void)
{
DotMatrix.begin();
}
void loop(void)
{
if (DotMatrix.displayAnimate())
DotMatrix.displayText ("Christopher C. Lamayan", PA_CENTER, DotMatrix.getSpeed(), DotMatrix.getPause(), PA_PRINT);
}