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

Files at this revision

API Documentation at this revision

Comitter:
AlanRager
Date:
Fri Jan 16 05:36:02 2015 +0000
Parent:
4:987c91c45188
Commit message:
Initial commit - got the led's blinking and everything!

Changed in this revision

Adafruit_WS2801.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 987c91c45188 -r b99161307af3 Adafruit_WS2801.cpp
--- 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)