Info on hardware SPI

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
roontoon
 
Posts: 69
Joined: Wed Nov 14, 2012 1:25 pm

Info on hardware SPI

Post by roontoon »

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

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Info on hardware SPI

Post by Franklin97355 »


User avatar
roontoon
 
Posts: 69
Joined: Wed Nov 14, 2012 1:25 pm

Re: Info on hardware SPI

Post by roontoon »

franklin97355 wrote:Have you looked here? http://www.ladyada.net/products/rgbleds ... ample_code
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.

d

tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 1:34 am

Re: Info on hardware SPI

Post by tldr »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”