I am messing around with some strips oriented in a matrix, the strips are wired one after another in a reverse ‘s’ fashion:
1,2,3,4,5,6,7,8,9,10
20,19,18,17,16,15,14,13,12,11.
It is 10 wide x 9 tall for a total of 90 ic’s. I am looking for some assistance in Inverting every other row so my patterns originate from one side of the matrix. Right now, my code ‘pushes’ the leds[] array. I set leds[0] to whatever color I want it to be and show() the string, then push everything over by one. With this configuration and my strips, the animation travels from right to left, etc.
I am wanting to create some method/code that will take my LEDs and change the order of my LEDs:
1,2,3,4,5,6,7,8,9,10
11,12,13,14,15,16,17,18,19,20
Anyone have a bread crumb they could throw my way?
To give you a function that makes life easier for you: