Instructions

www.joy-it.net
Pascalstr. 8 47506 Neukirchen-Vluyn
int data = 2; // sets pin 14 as data pin
int clock = 5; // sets pin 11 as clock pin
int latch = 4; // sets pin 12 as output
int ledState = 0;
const int ON = HIGH;
const int OFF = LOW;
void setup() {
pinMode(data, OUTPUT);
pinMode(clock, OUTPUT);
pinMode(latch, OUTPUT);
}
void loop() {
for(int i = 0; i < 256; i++) {
updateLEDs(i);
delay(500);
}
}