Hi Guys,
I am looking in understanding how to connect a keypad to a pic16f877.
I have read a lot and I am starting to get confused. Some requires resistor and some require resistor and diode. can someone explain to me when do we need resistor and when do we use diodes?