Just had a look at the code, is it not possible to use shift out instead, it would make it a bit simpler to follow. Ive read about the chip being discontinued do you know of a equivilant chip.

Thanks for the reply Sphere.