Unexpected Seven Segment Output

Thank you, ShermanP.

I copied this from something I found on the web. I'm having a difficult time understanding how to use shift registers so when I found something that seemed to work, I used it without fully following the logic.

Would it be taking advantage of your expertise to ask that you write the code that would accomplish what you are suggesting to me?? If this is unreasonable, I certainly understand. Perhaps I could compensate you for your time?

Regards,

Michael