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

Dependents:   LPD8806_Test net-o-meter PennGradCap

Files at this revision

API Documentation at this revision

Comitter:
ehbmbed2
Date:
Fri Dec 16 10:26:35 2011 +0000
Parent:
0:12e734116fea
Commit message:
Updated comments

Changed in this revision

LPD8806.cpp Show annotated file Show diff for this revision Revisions of this file
LPD8806.h Show annotated file Show diff for this revision Revisions of this file
--- 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
 
--- a/LPD8806.h	Fri Dec 16 03:16:50 2011 +0000
+++ b/LPD8806.h	Fri Dec 16 10:26:35 2011 +0000
@@ -4,7 +4,11 @@
 // 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 "mbed.h"