Pages: 1 2 3 [4]   Go Down
Author Topic: LED RGB 64-control individually  (Read 13453 times)
0 Members and 1 Guest are viewing this topic.
Manchester (England England)
Online Online
Brattain Member
*****
Karma: 634
Posts: 34528
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

 
Code:
// 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.
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 133
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

not get it to work!! smiley-cry
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 634
Posts: 34528
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you seen this thread
http://arduino.cc/forum/index.php/topic,89104.0.html
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 634
Posts: 34528
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 133
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You said, you connect as pictured below?


Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: 1 2 3 [4]   Go Up
Jump to: