Programming 74hc165

Do you have a question? If so, you should post your code (in a code block) and a circuit drawing (paper and pen is good enough to start)... and ask any question.

Here is a very good introduction to shift registers, with text, video, drawings and code, from DroneBotWorkshop.com...

... oh... you have been trying...