Control 8 x 7 Segment display.

I dont get the

  shiftOut(data,clock,MSBFIRST,1);
  shiftOut(data,clock,MSBFIRST,B10001001);

I usually take the latch low, then pump through all the Bbytes and take the latch high again.

The bytes will be latched into the right registers...