For a robotics project I am using an MCP23017 I/O Port Expander in order to have more pins available, and I am also using a PS2 controller for input. Both of these require pins 4 and 5 (because these are the data and clock pins). I was wondering if I can use a breadboard to simply connect these two pins to both devices in order to provide both of them with data and clock pins.
I am using an Arduino UNO and a playstation 2 controller with the following guide: http://www.techmonkeybusiness.com/using-a-playstation-2-controller-with-your-arduino-project.html