I want to control individual LEDs on this LED strip:
https://www.sparkfun.com/products/11272
There is some sample code in C for how this should be used:
http://www.sparkfun.com/datasheets/Components/LED/LED_Strip_Example.pde
I have a FEZ Spider I want to use for this. I’m thinking I can use these breakout extension modules:
http://www.ghielectronics.com/catalog/product/405
So the question is, what type of socket should I be using? The example code on sparkfun states " These
are controlled over a simple data and clock setup", but I’m not sure what exactly that means. It also displays a key like this:
Blue = 5V
Red = SDI
Green = CKI
Black = GND
However the acronyms “SDI” and “CKI” are not used anywhere on the Gadgeteer socket documentation:
http://gadgeteer.codeplex.com/wikipage?title=.NET%20Gadgeteer%20Socket%20Types
So I’m guessing I can probably use the I socket type (I2C interface), assuming the “SDI” and “CKI” ports map to what Gadgeteer calls “data (SDA) and clock (SCL) lines”. I wanted to sanity check that assumption with the community first.
I noticed another guy did something similar:
however, he used the SPI socket type. I’d prefer to use the I socket, since I have more of these. Do I need to use S or I, or can I use either?