Library for LPD8806 (and probably LPD8803/LPD8809) PWM LED driver chips, strips and pixels. Standard connected to 1st hardware SPI module. Data -> p5 and Clock -> p7 use a fixed sized buffer rather than malloc - if we use malloc rtos is unhappy...

Fork of LPD8806 by Jelmer Tiete

Revision:
1:6ebd3ac910b6
Parent:
0:12e734116fea
Child:
2:5d654eba3240
--- a/LPD8806.cpp	Fri Dec 16 03:16:50 2011 +0000
+++ b/LPD8806.cpp	Fri Dec 16 10:26:35 2011 +0000
@@ -4,12 +4,17 @@
 // found at: http://github.com/adafruit/LPD8806
 // and their strips: http://www.adafruit.com/products/306
 // Released under the MIT License: http://mbed.org/license/mit
-
+//
+// standard connected to 1st hardware SPI
+// LPD8806  <> MBED
+// DATA     -> P5
+// CLOCK    -> p7
 /*****************************************************************************/
 
 #include "LPD8806.h"
 
 //Define SPI pins
+//Connected to first SPI module
 SPI spi(p5, p6, p7); // mosi, miso, sclk
 //SPI spi(p11, p12, p13); // mosi, miso, sclk