One note to those having problems with these I/O expanders, remember to scroll all the way down the PDF and check out the timing requirements.

MCP23008: top of page 23.

Robert