X-Git-Url: http://git.piffa.net/web?a=blobdiff_plain;f=shift_register%2FshiftOut_binary_count%2FshiftOut_binary_count.ino;h=5ac868c7a1e3bf1c17e7226a8dab4f7fe4b28f5f;hb=bd123f688c3566dd1413e3ec17f6b5a7134cf2cb;hp=6878989d402d5b8f26bac3146b30a76cb0c88b8d;hpb=5b737b67e45cd2ad8243f968667f75cbcc6cab63;p=sketchbook_andrea diff --git a/shift_register/shiftOut_binary_count/shiftOut_binary_count.ino b/shift_register/shiftOut_binary_count/shiftOut_binary_count.ino index 6878989..5ac868c 100644 --- a/shift_register/shiftOut_binary_count/shiftOut_binary_count.ino +++ b/shift_register/shiftOut_binary_count/shiftOut_binary_count.ino @@ -39,7 +39,7 @@ void loop() { digitalWrite(latchPin, LOW); // shift out the bits: - shiftOut(dataPin, clockPin, SBFIRST, numberToDisplay); + shiftOut(dataPin, clockPin, MSBFIRST, numberToDisplay); //take the latch pin high so the LEDs will light up: digitalWrite(latchPin, HIGH);