#include <MD_Parola.h>
#include <MD_MAX72xx.h>
#include <SPI.h>
const byte clk_pin = 13;
const byte cs_pin = 10;
const byte dt_pin = 11;
const byte max_devices = 4;
MD_Parola a = MD_Parola(MD_MAX72XX::PAROLA_HW, cs_pin, max_devices);
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
a.begin();
a.displayClear();
}
void loop() {
// put your m"ain code here, to run repeatedly:
if (a.displayAnimate()) {
a.displayText("Hello Sania", PA_CENTER, 50, 2000, PA_RANDOM, PA_RANDOM);
}
}