]> git.piffa.net Git - sketchbook_andrea/blobdiff - shift_register/shiftOut_binary_count/shiftOut_binary_count.ino
RF string
[sketchbook_andrea] / shift_register / shiftOut_binary_count / shiftOut_binary_count.ino
index 6878989d402d5b8f26bac3146b30a76cb0c88b8d..5ac868c7a1e3bf1c17e7226a8dab4f7fe4b28f5f 100644 (file)
@@ -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);