adafruit / Adalight

http://ladyada.net/make/adalight/
GNU General Public License v3.0
212 stars 131 forks source link

screen mirror #4

Closed drenergy closed 12 years ago

drenergy commented 12 years ago

Sorry, i dont know where else to post this, i just installed my leds on the back of my tv, but instead of beginning counter clockwise, i started clockwise, how can i change te code so i dont have to place all the leds al over again :)

thank in advance

PaintYourDragon commented 12 years ago

It happens. :) In the file Adalight.pde, around line 87 (look for "static final int leds[][] = "), there's a list of numbers. These are the coordinates for each LED. Just reverse the order of that list (keeping the 3-number groupings intact...just move the groups into the opposite order, i.e. so {0,5,5} is first in the list, and {0,3,5} is last), and that should take care of it.