Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SD600A by
Diff: LPD8806.cpp
- Revision:
- 1:6ebd3ac910b6
- Parent:
- 0:12e734116fea
- Child:
- 2:af5af64e114d
diff -r 12e734116fea -r 6ebd3ac910b6 LPD8806.cpp --- 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
