I am using this code with a 74HC595 IC to control a 4 digit 7-segment:
digitalWrite(latchPin, LOW); shiftOut(dataPin, clockPin, LSBFIRST, "value"); digitalWrite(latchPin, HIGH);
I understand what the shiftout() does, but I don't understand why we need to put the latch pin low and then high. Can somebody explain this to me?
The latch pin is pin 12 on the 74HC595 IC.