Having trouble controlling 3 Row Seven Segment with 4 shift register 74hc595

Ok PaulRB. thanks for everything..

but I've one problem again, i've a one Water Flow sensor connect to Arduino with pin 11, the sensor result is work perfectly on arduino uno or mega.
but when i try to upload with USBasp to Atmega32 in pin PD3. the sensor can't show the flow sensor result.
how to solved this? this problem stuck from two month ago. :confused:

(maybe, i must change/move this post to sensor category post)