#include <MD_Parola.h>

#define HARDWARE_TYPE MD_MAX72XX::PAROLA_HW
#define MAX_DEVICES 4
#define CS_PIN 53
#define DATA_PIN 51
#define CLK_PIN 52

// Create a new instance of the MD_Parola class with hardware SPI connection:
MD_Parola myDisplay = MD_Parola(HARDWARE_TYPE, CS_PIN, MAX_DEVICES);

void setup() {
  myDisplay.begin(); // Intialize the object:
  myDisplay.setIntensity(10); // Set the brgihtness of the display
  myDisplay.displayClear(); // Clear the display:
  myDisplay.setInvert(false); // Set text to non-inverted
  myDisplay.displayText("KELOMPOK 3 ", PA_CENTER, 50, 50, PA_SCROLL_LEFT);
}
void loop() {
  if (myDisplay.displayAnimate()) {
    myDisplay.displayReset();
  }
}