djcysmic / NeopixelBusFX

NeopixelBusFX plugin for ESPEasy
27 stars 7 forks source link

Five 8x8 Matrix LED daisy chained with a NodeMCU (ESP8266-14) #21

Closed eSoCGN closed 2 years ago

eSoCGN commented 2 years ago

Hi,

I've build a hanging lamp for the dining table with 5 lamps, each holding a 8x8 Matrix and also a ESP each. In the new build I want to reduce it to only one controller.

But now I've found a very strange behaviour: With four connected and a LedCount set to 256 all works pretty well. With 5 (LedCount=320) nothing lights up. I found that with an LedCount=302 it work and with 303 it doesn't.

I'm quite sure it's not the matrix itself - I've changed it with a confirmed working one. The cables are very short due to the fact that it's only a very early test, so I don't expect a voltage problem here.

But on the other hand I didn't see any limitations (which would be a really strange one) in the code...

Do you have any idea where my fault is?

Kind regards Eric

eSoCGN commented 2 years ago

ok, I updated line 2219 in file P128_data_struct.h to # define ARRAYSIZE 320// Max LED Count all works well now. Would be nice if it the size of the array would be set dynamically to the LEDcount or to the max (999?)

Kind regards Eric