4 Digit 7-Segment Display - TPIC6B595 Shiift Register

The shift register pin numbers are not reflected in a sketch, instead you must connect the Arduino pins to the right register pins. See the signal and pin names in the circuit diagrams.