Reading and writing to a single digital pin

Perhaps out of line considering the previous discussion.. But OP did I think mention turning a LED on for a specific time on button stimulus Why not use PCF8574's?. IIC but easily chained, read the registers, write those that have changed state whether by input or timeout.

Bob

PCF8574.pdf (133 KB)