johnwasser:
So you have 10 shift registers daisy-chained together and 6 of the 8 outputs in each 8-bit shift register controls the three colors of two RGB LEDs.byte color[20]; // Pattern of colors to display, three bits per color.
digitalWrite(latchPin, LOW);
for (int register = 0; register < 10; register++) {
shiftOut(clockPin, dataPin, color[register2]<<4 + color[register2+1]); // Send colors to two RGB LEDs
}
digitalWrite(latchPin,HIGH);
so this code goes in the void loop part right?