I want to control individual LEDs on this LED strip:
There is some sample code in C for how this should be used:
I have a FEZ Spider I want to use for this. I’m thinking I can use these breakout extension modules:
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:
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?