'MD_MAX72xx' not declared in this scope

#include <MD_Parola.h>
#include <MD_MAX72xx.h>
#include <SPI.h>

#define HARDWARE_TYPE MD_MAX72xx.h
#define MAX_DEVICES 4
#define CS_PIN 3

MD_Parola myDisplay = MD_Parola(HARDWARE_TYPE, CS_PI,MAX_DEVICES);

#define DATAPIN 2
#define CLK_PIN 4
MD_Parola myDisplay = MD_Parola(HARDWARE_TYPE, DATA_PIN, CLK_PIN, MAX_DEVICES);

void setup() {
myDisplay.begin(;
myDisplay.setIntensity(0);
myDisplay.displayClear();

}

void loop() {
myDisplay.setTextAlignment(PA_CENTER);
myDisplay.print(“Center”);
delay(2000);
myDisplay.setTextAlignment(PA_LEFT);
myDisplay.print(“Left”);
delay(2000);
myDisplay.setTextAlignment(PA_RIGHT);
myDisplay.print(“Right”);
delay(2000);
myDisplay.setTextAlignment(PA_CENTER);
myDisplay.setInvert(true);
myDisplay.print(“Invert”);
delay(2000);
myDisplay.setInvert(false);
myDisplay.print(1234);
delay(2000);

}

Your topic has been moved to this forum section as this location is more relevant to the subject

Please Auto format your code in the IDE, select all of it, use Copy for forum in the IDE and paste it here so that it is in code tags to make it easier to read and copy for examination

The easier you make it to read and copy the code the more likely it is that you will get help

#define HARDWARE_TYPE MD_MAX72xx.h

This line looks wrong. Does it match the examples that came with the library ?