Not sure if this is the right place to put this I would like to use a shift register (possibly 74HC595) control some LEDs. I've read multiple tutorials on how to do this, but most are incomplete I understand how to wire the LEDs, but am not quite sure how the program works. What I've gathered is that to output a single digit, you set the input pin high or low, then pulse one of the clock pins ( sclk? ) to shift all the bits, and then, after writing all the data pulse another clock pin to write it to the pins.
Is this correct? What clock pins do I use and when?
I would like to program this in Python, using either RPi.GPIO or gpiozero.
Thanks in advance!