Shift in issues with 74HC165

Hi dhenri,

I can't see what the problem is with the OP s code ( if he just wants to check switches with a line of 1s and 0s )

I am also a newbie, and cant see what he missed in the data sheet .

I have used this chip to generate a video overlay and seem to recall I just clocked out one bit at a time...