Grumpy_Mike:
Can you post a schematic, how can your circuit be an input and an output at the same time.
does this help?
(see attached)
thanks for the feedback on digitalReads Nick Gammon.
as for
firstInput;
secondInput;
thirdInput;
fourthInput;
fifthInput;
well this currently appears to do nothing well at least not what I had hoped.. what I want to do is output the inputs firstInput, secondInput, etc. in the order shown, I want this part of the code to determine the order of the output.
Does this make sense? I want this to learn a combination entered from 5 switches that produces inputs on 3 inputs, depending on the buttons pressed (see attached schematic for hopefully an idea of what I'm getting at).
Once the combination is learned, I want the arduino to output the combination upon receiving a single momentary input on D.
Thanks for the help, like I said, this is my first real arduino project and I'm lucky I've made it this far.
