Hello,
I am currently trying to control the LED pins on an 8X8 matrix using a MAX7219 driver, For this code, I am using an ESP32 module so maybe this forum isn't the best place to post it, however, I have also tried with an Arduino and I'm having the same issue.
Here is a picture of the LED display when it is connected to the board but no code has been applied:
Then I apply this code meant to display scrolling text:
#include <MD_Parola.h>
#include <MD_MAX72xx.h>
#include <SPI.h>
// Uncomment according to your hardware type
#define HARDWARE_TYPE MD_MAX72XX::FC16_HW
//#define HARDWARE_TYPE MD_MAX72XX::GENERIC_HW
#define MAX_DEVICES 2
#define CS_PIN 5
MD_Parola Display = MD_Parola(HARDWARE_TYPE, CS_PIN, MAX_DEVICES);
void setup() {
Display.begin();
Display.setIntensity(5);
Display.displayClear();
Display.displayScroll("SCROLL", PA_RIGHT, PA_SCROLL_LEFT, 150);
}
void loop() {
if (Display.displayAnimate()) {
Display.displayReset();
}
}
Blockquote
Then the LED matrix looks like this:
(I can't embed more than one piece of media per post because I'm new so I will reply to this post with the video)
But basically it looks like it shows the text scrolling but those same LED's that are always on so you can't really see the text.
I have wired it up correctly, the ground to ground, Vin to Vin, CS to pin 5, DataIn to pin 23 and CLK to pin 18. My current theory is there is an issue with the MAX7219 PCB. If anyone can offer any help I would be grateful, thanks.