I’ve attempted to replicate the setup of the 595 tutorial with LEDs, and I’m having a problem. It was going through the count-up, but flashing in between each LED display. I tried to figure out why it was doing it, and I realized that what’s happening is that only every other byte shifted out is being displayed, and all the LEDs are off for the byte in between. So, for example, when it’s counting up from 0 to 255, only the odd numbers are displayed. The LEDs are all connected, though, because if I set up the for loop to only show even numbers then they get shown, but only every second even number. Similarly, flashing all the LEDs works.
I don’t think it’s a software problem, because I’ve both written my own routines, and cut and paste the demo code from the tutorial page. Anybody have any idea what could be causing this?