If like me you have a lot of leds, I made an object to simplify the connections to 74HC595.
You can chain four 74HC (0 to 3).
The output is sent to a script (thanks to @paul)
Here is the object to place in /object/gpio/ if you want to try my patch( thanks @mnskll) :
74HC595inputsX4.axo (3.6 KB)
and the patch:
74HC.axp (22.7 KB)