renamed pin.user_pin_number to pin.index to match MCP23017 API