I'm currently working on a LED panel with data from Glediator.

I’m currently working on a LED panel with data from Glediator. From USB serial everything works but now I want to get the data from SD card. Inside glediator I can set by output the order VS_TL (VerticalSnake TopLeft) but when I record for a file it always handles the output as a horizontal snake. So when I for loop the data it thinks I have a horizontal strip but I have a vertical strip.

How can I best handle this. This is my code I have found on internet and it works but only presents the leds on my strip in horizontal order instead of vertical. How to rewrite them from horizontal to vertical. The ledsort function is just for start position on a horizontal strip so I cant use that

https://pastebin.com/W08cqqce

You’re already using the matrix XYTable remapping because of your non-uniform matrix, correct? You might try making another version that not only remaps for the non-uniform matrix, but also at the same time rotates the horizontal snake data to your vertical snake layout.

I currently use a 1d array for that this is working code for my inregular strip with data from usb:
https://pastebin.com/d3tDkbRb

And this is my pattern: http://puu.sh/yC4jX/9675f80c0c.png

What I’m saying is I think you need to back up a step, and create a new (alternate) XYTable remapping for the"bugged" data coming from a memory card.

Yes I understand I only need to see how to go from ’ input sd card data’ which is horizontal to a XY array/data/table

https://plus.google.com/+DwainScheeren/posts/RrL2QydRcn8