I'm building a modular based led table based on sk9822/apa102.

I’m building a modular based led table based on sk9822/apa102.
Each PCB contains 16 leds in a 4x4 configuration.
The order of the led strip on one PCB is starting in top left corner moving horizontal right, then down one row, moving horizontal left, and so on.
Then of course several boards can be connected. Currently I plan to use 16 boards = 256 leds in total.

Is there any support in FastLED to handle different led configurations, or do you need to transform the led array in your own code?

Hope you understand what I mean :slight_smile:

There’s nothing like that built into FastLED so you will need to make your own custom mapping.

If you wanted to you could start with something like this and then further edit what it gives you to match your setup.
https://macetech.github.io/FastLED-XY-Map-Generator/

I think Adafruit might also have some matrix code to do this sort of layout. Also check out Marc Merlin’s code:

Thanks Marc, this would be a good start