Porting a little Arduino code....


Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 10056
Posted: 12:11am 22 Jan 2015      

Hello.

Here is the circuit for the display, stolen from an image on the link above:





From what I can see, all 595's are daisy-chained together(you are right!), so to show any four digits, I need to clock 32 bits to the display, then clock the RCK line, which should pass that data through to the segments, lighting up what is needed.

While clocking the 32-bit data to the display, I get the impression that the display will not change, until you clock the RCK line. Each time you do that, whatever bits are loaded into the registers will be reflected in the output - in this case, LED segments.
Smoke makes things work. When the smoke gets out, it stops!