Newbie level 3
I have to interface 8 different keys to a microprocessor, but only one pin is available on the microprocessor. Is there any way that makes the microprocessor possible to detect which key has been pressed?
If the input pin is an A/D converter input?
A common way is to have a resistor network switched by the buttons, that apply a different voltage level for each Button.