Shift registers need to be CD4021 type or SN74HC165 type with an inverter on the CS signal. But yes

Shift registers need to be CD4021 type or SN74HC165 type with an inverter on the CS signal. But yes you’ve got the gist of it. Only HC165 needs the inverter. CD4021 works as is. Pull up resistors on inputs for both types, buttons to GND.
Was this page helpful?