I've been working with a 74HC164 SIPO shift register - just experimenting to expand the outputs. I have a row of 8 leds as outputs.
I'm using code from here: arduino + monome + ?: Test 74HC164 SHIFT OUT with LED
(apparently can't post live url as this is my first post - sorry)
Which sets the byte and shifts it down the line.
In the code above there's a delay between each shift and you can see the bits being moved down the line of outputs.
My problem is I want to display a given pattern without the 'shifting' being visible. Currently, if I remove the delay, the lamps are still lit momentarily as the bit passes through.
EG - For a demo I adapted the code above to do a binary count, so set the byte, shift it into the register, increment by one and shift the next byte in. At full speed it appears that all the leds are lit briefly during the shift cycle.
How do I eliminate the flicker? Or ensure outputs are off whilst the data is shifted?
Many thanks for any help!
Simeon