OctoWS2811 with artnet support only 510 leds?

Status
Not open for further replies.

lore463

Member
Hi,

i'm using Artnet example of OctoWS2811.

ledsPerStrip = 300
numStrips = 3

it doesn't work.
It works fine with less then 510 leds in total (160ledx2strips or 60x8 or 120x4, not 600x1). I'm using teensy 3.5 and i saw that it supports up to 4000 leds.

Is there any problem in the example? maybe in leds.show(); because with 300x3 leds in total the init test go well and if i print the in this code inside the example all goes well:

// read universe and put into the right part of the display buffer
for (int i = 0; i < length / 3; i++)
{
int led = i + (universe - startUniverse) * (previousDataLength / 3);
if (led < numLeds)
leds.setPixel(led, data[i * 3], data[i * 3 + 1], data[i * 3 + 2]);
Serial.print(i);
}

Data arrive, and all go well until leds.show(); i think...

Any suggest? Thank you
 
Status
Not open for further replies.
Back
Top