I am recieving data in serial format rgbrgbrgbrgbrgbrgbrgb, I currently use single strips,

I am recieving data in serial format rgbrgbrgbrgbrgbrgbrgb, I currently use single strips, if I wanted to use 4 strips and send the data 1rgbrgbrgbrgbrgb2rgbrgbrgbrgb3rgbgbrgbrgb4rgbrgbrgbrgbrgb how would I go about this? I’m currently recieving the data and putting this in an buffer (array) then when the buffer is full I write the values out to the strip,

I can route each block of data to it’s own array but I’m just not sure how to then display different arrays on different strips

How have you declared the arrays for the strips? If you have one buffer that’s large enough to store all the led data for all your strips, you can just read into that buffer, then write out all the strips. I suspect I’d need to see your code to give you more specific advice for what you’re doing.

This the code I’ve come up with, for some reason it’s not even getting an IP when I have more than one LED strip, I suspect this may be due to memory http://pastebin.com/mpxqwN1Y

What device are you running this on? You’ve allocated nearly 4k of ram right out of the gate (each of your channel buffers is 512 bytes, buff2 is 2k, and packet buffer is 768 bytes). And now, it’s 6am, and I need some sleep - see you all on the flip side!

running on an uno, it’s too much isnt it :frowning:

Yeah, you only have 2k of ram on an uno :slight_smile:

just realised, buff2 is defunct anyway, should have got rid of that in previous code, will try shrinking the arrays as small as I can get them to see what my max is