Arduino TLC5940 and 74HC595?

I need to expand Arduino Uno output. After some search I have identified 74HC595 to extend my Digital output and TLC5940 for analog output.

I'have also found how to connect them separately to Arduino Uno:

This is the date sheet of 74hc595

This two setups share some pins, I've seen in this thread that other people use them together but I'm not sure how to connect them to my Arduino. Can you give me a hint?

Libraries are also compatible?

steveastrouk5 months ago

The TLC5940 is an LED bar driver, not a DAC