H/W --> similar connections for the 3rd IC with its pin9 connected to pin10 of 2nd IC.
Vcc,Gnd, sh/ld,clkpin,clkenable and Qh pins shorted with the other 2 ICs and one line of each of
these pins is taken and given to the arduino uno.
Initially I have connected all the datapins(3,4,5,6,1,12,13,14)of each IC to Vcc via a resistor.
S/W --> in code the only change I made was made the number of shift register 3.
Ohh forgot to mention.
I have initially connected all pins to Vcc but when uploaded and running I connect any one pin to the ground.
When I am using only 2 IC's it detects the change and shows that particulr pin as LOW.
But when I am extending the circuit to 3 IC's it detects change for the 1st and 2nd IC but not the last IC from from the connections are made to the arduino.