Using 74HC165

PaulRB:
Is this a duplicate post? Didn't someone ask this exact same question only a few days ago?

Indeed. max no. 74HC165