I'm trying to figure out how to read a certain type of input into arduino. Excuse me if my terminology is incorrect. Basically I have two sets of five wires, one wire from each group can touch one wire from the other group (completing a circuit) creating 25 different combinations. I'm trying to figure out how to read that input into the arduino board and determine which of the possible connection has been made. Any help would be really great.
It sounds like you're trying to scan a keyboard, though it's not entirely clear. It sounds like you have wires from the arduino pins to buttons in a matrix configuration.
If this is the case, set 5 as outputs, 5 as inputs. Start with the outputs low, and one by one set them high. Check if any of the inputs are high. That input is connected to the output which is currently high.
Actually, in a way your right, it never occered to me that keyboards function in this manner. What i was trying to do is simply trigger an event based on the connection one makes between two sets of wires, like a keyboard matrix but much simpler, it's for an installation piece I think I understand what you are saying, I guise I'm just a little unclear on how to separate the logic on programming side. I'll have to study the code a little more