74HC595 and 74HC165 combined library.

I know. And is well explained.

But i am using a uno, with an lcd and other stuff attached, only have 5 free pins.