hello guys,really need your help!!!!
how can i display dht22 data on a 488 led matrix with MAX27XX using esp32,i just know how to display a scrolling message like below:
#include <MD_Parola.h>
#include <MD_MAX72xx.h>
#include <SPI.h>
//define the led matrix's type
#define HARDWARE_TYPE MD_MAX72XX::FC16_HW
#include "DHT.h"
#define DHTPIN 23
#define DHTTYPE DHT22
DHT dht(DHTPIN, DHTTYPE);
// Defining the maximum number of ICs in our LED matrix(in our case: four 8×8 LED arrays)
#define MAX_DEVICES 4
//specify the CS pin’s connection with the ESP32 which is pin 5
#define CS_PIN 5
//instance of MD_Parola library called ‘Display’ that will be set to the MD_Parola() function which takes in three arguments
MD_Parola Display = MD_Parola(HARDWARE_TYPE, CS_PIN, MAX_DEVICES);
void setup() {
Display.begin();
Display.setIntensity(0);
Display.displayClear();
Display.displayScroll("test message", PA_RIGHT, PA_SCROLL_LEFT, 150);
}
void loop() {
if (Display.displayAnimate()) {
Display.displayReset();
}
}