int latchPin = 9; int clockPin = 8; int dataPin = 10; int binarySequence[]= {128, 64, 32, 16, 8, 4, 2, 1} ; int arraySize = 8; void setup() { pinMode(latchPin, OUTPUT); pinMode(clockPin, OUTPUT); pinMode(dataPin, OUTPUT); } void loop() { //shiftOut(dataPin, clockPin, bitOrder,value) //bitOrder MSBFIRST / LSBFIRST // 11100000 BIN <> DEC 224 for (int i=0; i