const int ser = 8, latch = 9, clk = 10; void setup() { pinMode(ser, OUTPUT); pinMode(latch, OUTPUT); pinMode(clk, OUTPUT); digitalWrite(latch, LOW); shiftOut(ser, clk, LSBFIRST, B11111111); digitalWrite(latch, HIGH); } void loop() { // put your main code here, to run repeatedly: }