View on GitHub

Shiftbrite

A easy arduino ShiftBrite library that works!

Download this project as a .zip file Download this project as a tar.gz file

ShiftBrite

A easy arduino ShiftBrite library that works!

ShiftBrite Constructor is (datapin,latchpin,enablepin,clockpin)

the only function you have to use now is sendColor(red,blue,green);

red = 0 - 255 blue = 0 - 255 green = 0 - 255

How to install

Example

#include <ShiftBrite.h>

int datapin = 5;
int latchpin = 6;
int enablepin = 10;
int clockpin = 11;

ShiftBrite shift(datapin,latchpin,enablepin,clockpin); //construct

void setup()
{
  //add your setup here.
}

void loop()
{
  //Test Red
  shift.sendColor(255,0,0);
}