OK - I am having some issues here. I am trying so hard to understand using this 74LS164 chip.

How would I modify my code above if on one of the lines within the serial routine, that I wanted to read a value if a button was pressed and pass it back to the main program?

Thanks