#include <MD_Parola.h>
#include <MD_MAX72xx.h>
#include <SPI.h>

#define HARDWARE_TYPE MD_MAX72XX::FC16_HW
#define MAX_DEVICES 4
#define CLK_PIN   13
#define DATA_PIN  11
#define CS_PIN    10

MD_Parola GreenDots = MD_Parola(HARDWARE_TYPE, CS_PIN, MAX_DEVICES);

void setup()
{
SPI.begin(); 
GreenDots.begin();
GreenDots.setIntensity(20);
GreenDots.displayClear();
GreenDots.print("Circut3");
delay(2000);
}

void loop()
{
GreenDots.displayClear();
GreenDots.setTextAlignment(PA_CENTER);
GreenDots.print(analogRead(A0));
GreenDots.displayAnimate();
delay(200);
}                                                                                                                                                                                                                                                                                  
