I have a pic micro controller that is hooked up to 5 devices that each have 7 wires for control. Only 1 device needs to be used at a time. I don't have 5*7 = 35 ports on my pic. How can use less pins on my pic? I'm thinking something like a multiplexer would help but I'm not sure how to implement it in this case.