Software trouble with CD74HC259 CMOS logic latch