Go Down

Topic: LED RGB 64-control individually (Read 15192 times) previous topic - next topic

Grumpy_Mike

Code: [Select]
// Set the first variable to the NUMBER of pixels. 25 = 25 pixels in a row
Adafruit_WS2801 strip = Adafruit_WS2801(6, dataPin, clockPin);

You have the LED connected to pin 8 but your software says there are only 6 pixels, so try putting 18 here.



Grumpy_Mike

Make sure you have wired it up correctly with all three anodes going to the +ve and each cathode going to a seprate output pin.

Omnimusha

You said, you connect as pictured below?



KirAsh4

You have your SDI and CLK pins reversed.  Pin 13 on the Uno is the clock, not data.  Pin 11 is MOSI (data).

Go Up