Go Down

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


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.




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.


You said, you connect as pictured below?


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

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131