I never had the opportunity to use this device but saved the info for future use: MCP23017 16 bit I/O expander
May work for you.