First version with bit banging...next time the code uses SPI with the shift registers.