added shift-register-input testing code, based on Arduino example code, for 74HC165 chips