Qudor-Engineer / DMD32

A library for driving the Freetronics 512 pixel dot matrix LED display "DMD", a 32 x 16 layout using ESP32.
GNU General Public License v3.0
30 stars 20 forks source link

ESP32 DEVKITV1 doesn't work with this library #22

Open galagen8 opened 1 year ago

galagen8 commented 1 year ago

The library doesn't work with HUB12 single color P10 panel. I tried with ESP32 DEVKITV1. I used correct pinout and example sketches, checked and re-checked everything several times, but no any of LEDs were lights up. I tried same DMD panel with Arduino Nano and ESP8622 to make sure the panel isn't broken — and it's working. Did you change something in the library?

Mahadkz commented 1 year ago

Its the same case with me I have two panels and 2 controllers on hand and none of them work. Tried all libraries and even without them but nothing works. I was able to get the rows under control at least `#include "DMD32.h"

// Instantiate the DMD object DMD dmd(1, 1); // Assuming a single DMD panel

void setup() { // Initialize the DMD dmd.clearScreen(true); // Clear the screen with normal mode }

void loop() {

//ROW_01_05_09_13 LIGHT_DMD_ROW_01_05_09_13(); LATCH_DMD_SHIFT_REG_TO_OUTPUT(); OE_DMD_ROWS_OFF();

delay(100); // Delay for 3 seconds

//ROW_02_06_10_14 OE_DMD_ROWS_ON();
LIGHT_DMD_ROW_02_06_10_14(); LATCH_DMD_SHIFT_REG_TO_OUTPUT(); OE_DMD_ROWS_OFF();

delay(100); // Delay for 3 seconds

//ROW_03_07_11_15 OE_DMD_ROWS_ON();
LIGHT_DMD_ROW_03_07_11_15(); LATCH_DMD_SHIFT_REG_TO_OUTPUT(); OE_DMD_ROWS_OFF();

delay(100); // Delay for 3 seconds

OE_DMD_ROWS_ON();
LIGHT_DMD_ROW_04_08_12_16(); LATCH_DMD_SHIFT_REG_TO_OUTPUT(); OE_DMD_ROWS_OFF();

delay(100); // Delay for 3 seconds

/ for (int y = 0; y < DMD_PIXELS_DOWN; y++) { dmd.writePixel(4, y, GRAPHICS_NORMAL, 1); delay(1000);} / }` if connections are alright then you will be able to control rows I also used this on esp32 devkit v1

dirtyfunky commented 1 year ago

I also try to use DEV kit with this library but my panels are showing 8 horizontal lines 4 bright, 4 slightly dimmed. but program is not working correctly. I was able to run this panels with Arduino UNO with DMD library, but wanted to use esp32 because of speed.