#include <MD_MAX72xx.h>
#include <MD_Parola.h>
#include <SPI.h>
#define HARDWARE MD_MAX72XX :: FC16_HW
#define DATA_PIN 13
#define CS_PIN 5
#define CLK_PIN 14
#define MAX_DEVICES 4
MD_Parola myDisplay =MD_Parola(HARDWARE,DATA_PIN,CLK_PIN,CS_PIN,MAX_DEVICES);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
myDisplay.begin();
myDisplay.setIntensity(15); //0-15
myDisplay.displayClear();
}
void loop() {
myDisplay.setTextAlignment (PA_LEFT);
myDisplay.print("123");
}