// turn off the output so the pins don't light up // while you're shifting bits: digitalWrite(latchPin, LOW);IMHO the output pins will not change until the latchpin goes high...You can fill all the registers and then flip the latchpin low then high and then the LEDs will change.
to delay the latch if it is driven high at the same time as the shiftreg clock
why not loop the last shiftregisters' output back to the micro, and compare the last byte sent previously with what comes back this time, if no bits are lost it should be the same...
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16