This is a fork of Adafruit_WS2801 found http://developer.mbed.org/users/SomeRandomBloke/code/Adafruit_WS2801/ It was the work of SomeRandomBloke, and I changed some baked in settings to work with the STM32F401RE.

Fork of Adafruit_WS2801 by Andrew Lindsay

Revision:
5:b99161307af3
Parent:
4:987c91c45188
--- a/Adafruit_WS2801.cpp	Tue Jun 03 20:19:23 2014 +0000
+++ b/Adafruit_WS2801.cpp	Fri Jan 16 05:36:02 2015 +0000
@@ -6,7 +6,7 @@
 // Written by Adafruit - MIT license
 /*****************************************************************************/
 
-SPI spi(p16, p15, p13); // mosi, miso, sclk
+SPI spi(SPI_MOSI, SPI_MISO, SPI_SCK); // mosi, miso, sclk
 
 // Constructor for use with hardware SPI (specific clock/data pins):
 /*Adafruit_WS2801::Adafruit_WS2801(uint16_t n, uint8_t order): clkpin(PTD4), datapin(PTA12)