Software trouble with CD74HC259 CMOS logic latch

Thank you very much. Your post showed me that I am over complicating the whole thing. The basic code isn't as complicated as I previously thought, actually it's quite doable. Thanks again. :slight_smile: