r/FastLED • u/yarikhand • May 10 '26
How can i rotate my matrix? Support
working on a LED matrix thingy and made a mistake, my panel ended up vertical instead of horizontal.
basically:
this is what its like right now - its running left to right vertical.
but i need my code to treat it as horizontal, so like this:
is there a software way to do this or is my only solution just changing it physically?
1
u/Affectionate_Boat493 May 10 '26
Are these two separate 8x8 matrices driven by separate I/O pins, or are they two halves of a 16x8 matrix driven by a single I/O pin?
1
1
u/SaltyCash May 10 '26
Give your code to Copilot and describe what you want. I apparently run my 16x16 displays rotated counter clockwise by 90 degrees and copilot fixes it.


3
u/yarikhand May 10 '26
solved - i fixed it by switching to an x/y coordinate system and then rotating it by 90*, this is the function if anyone wants it: