neuralc
Full Member level 4
Hi all,
I have made an application in P.R.O.T.E.U.S where I connect PORTA bit 0,1 (output) in one side of 4 press buttons and PORTA bit 2,3 (input) in the other side of the button.
The idea it's scan the key press of the buttons. So, I put one output equals to one an I see if the input's remains to one. Next I make the same thing to the other output. In the simulation everything work's fine.
The problem it's reality, when I implement the circuit (with 16F870) and I power it I get some "auto" key press's without pressing the key's.
Some one have some idea what probably appends? Maybe some caps on the buttons?
ThX
NeuralC
I have made an application in P.R.O.T.E.U.S where I connect PORTA bit 0,1 (output) in one side of 4 press buttons and PORTA bit 2,3 (input) in the other side of the button.
The idea it's scan the key press of the buttons. So, I put one output equals to one an I see if the input's remains to one. Next I make the same thing to the other output. In the simulation everything work's fine.
The problem it's reality, when I implement the circuit (with 16F870) and I power it I get some "auto" key press's without pressing the key's.
Some one have some idea what probably appends? Maybe some caps on the buttons?
ThX
NeuralC