Hi,
New to arduino and I am starting a project with LPD8806 addressable RGB LEDs.
( http://adafruit.com/products/306 ) I have seen code and various articles on using hardware SPI with these LED. Can someone point me to information on how to hook these up to the Arduino board using this protocol.
Thanks so much
d
Info on hardware SPI
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23910
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Info on hardware SPI
Have you looked here? http://www.ladyada.net/products/rgbleds ... ample_code
- roontoon
- Posts: 69
- Joined: Wed Nov 14, 2012 1:25 pm
Re: Info on hardware SPI
Thanks for the reply but I don't think this is using SPI as per http://www.arduino.cc/en/Reference/SPI it references pins 11, 12 and 13 but the actual connection of the strip to the pins is what I am trying to pin down. I want to use SPI because it refreshes the strip much faster.franklin97355 wrote:Have you looked here? http://www.ladyada.net/products/rgbleds ... ample_code
d
-
- Posts: 466
- Joined: Thu Aug 30, 2012 1:34 am
Re: Info on hardware SPI
connect di on the lpd8806 strip to arduino pin 11, MOSI. connect ci on the lpd8806 strip to pin 13, SCK. MISO, pin 12, and SS, pin 10, need not be connected, though pin 10 shoulf be configured as an output to avoid having the arduino's spi interface go into slave mode.
Please be positive and constructive with your questions and comments.