Thank you for the responses. I now have a functioning routine and everything is working perfectly.

On to the next issue: how to display text on an LCD from a word or byte.