wayoda / LedControl

An Arduino library for MAX7219 and MAX7221 Led display drivers
Other
464 stars 246 forks source link

MAX7219 not working with ESP32 anymore #30

Closed ShoootLight closed 6 years ago

ShoootLight commented 6 years ago

The MAX7219 is not working together with my NodeMCU ESP32-S anymore. It did around a half year ago, but then I stopped programming with the LED Matrix. When I upload a sketch it lights up all four or three out of four segments fully up (every pixel is bright doesn't matter what I've programmed), but when I plug it into my computer nothing happens.

I tried both ways of installing the Arduino Core (Board Manager and Windows) and made the avr/pgmspace.h fix. Does anyone have the same problem?

Thank you in advance

ShoootLight commented 6 years ago

The problem was the wrong pins. I now use P32, P33 and P25. Thanks to all of those guys for their help!

stephanschulz commented 1 year ago

Same for me LedControl lc=LedControl(32,33,25,2); // feather esp32 v1 allowed me to use this library with adafruit feather esp32 v1

but I do have to use this fork https://github.com/GitCodeGoose/LedControl/tree/fix_pgmspace_include