Las librerias que necesitamos son:
#include <SPI.h>
#include “LedMatrix.h”
https://github.com/squix78/MAX7219LedMatrix
CONEXIONADO

#include <SPI.h>
#include "LedMatrix.h"
#define NUMBER_OF_DEVICES 1
#define CS_PIN 5
LedMatrix ledMatrix = LedMatrix(NUMBER_OF_DEVICES, CS_PIN);
void setup() {
ledMatrix.init();
ledMatrix.setIntensity(2); // range is 0-15
ledMatrix.setText("Test");
}
void loop() {
ledMatrix.clear();
ledMatrix.oscillateText();
ledMatrix.drawText();
ledMatrix.commit();
delay(300);
}