lloydi12345
Member
I am creating 16 switch buttons out of 8 pins in a microcontroller. Four are set for input while the other four are set for output and they are done in multiplexing. One column is scanned with '1' while the other 3 is '0'. The problem is, when two buttons are pressed simultaneously from a different column I think they are being shorted. I have seen this image in one site similar to mine but in his case he is using '0' to one column while the other 3 are '1'.
https://extremeelectronics.co.in/avr-tutorials/4x3-matrix-keypad-interface-avr-tutorial/
How can I avoid shorting of the pins? I am using PIC18.
https://extremeelectronics.co.in/avr-tutorials/4x3-matrix-keypad-interface-avr-tutorial/
How can I avoid shorting of the pins? I am using PIC18.