74HC165 - Getting 00000000 or 11111111

Hello there.

I've got a 75HC165, and for some reason that i couldn't figure out, it will not return the data as expected. No matter what pin is connected, it always returns 00000000, unless the last pin is connected, then, even if only 1 pin is connected, it returns 11111111.

Thanks in advance.

Nevermind. Sorry.

The problem was this IC need the clockEnable pin to wor properly.

Thanks