This is a modified version of Adafruits WS2801 library. It is function compatable with my LED_LPD8806 library (modified from the Adafruit_LDP8806) so the two can be used interchangable with sketches.
12mm Bullet shape ----> https://www.adafruit.com/products/322
Red - 5V
Yellow - Data
Green - Clock
Blue - Ground
12mm Flat shape ----> https://www.adafruit.com/products/738
36mm Square shape ----> https://www.adafruit.com/products/683
LED Strip ----> http://www.sparkfun.com/products/10312
Blue - 5V
Red - Data
Green - Clock
Black - Ground
------------------
Example library for driving Adafruit WS2801 pixels!
Designed specifically to work with the Adafruit RGB Pixels!
12mm Bullet shape ----> https://www.adafruit.com/products/322
12mm Flat shape ----> https://www.adafruit.com/products/738
36mm Square shape ----> https://www.adafruit.com/products/683
These pixels use SPI to transmit the color data, and have built in
high speed PWM drivers for 24 bit color per pixel
2 pins are required to interface
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries.
BSD license, all text above must be included in any redistribution
-------------------------------------
To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder Adafruit_WS2801. Check that the WS2801 folder contains Adafruit_WS2801.cpp and Adafruit_WS2801.h
Place the Adafruit_WS2801 library folder your <arduinosketchfolder>/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.