The two resistors may have fixed values or one may be an LDR, a thermistor or other input device. The supply voltage is divided in the ratio of the resistances in the voltage divider. For the ...
and read the resulting voltage off of a voltage divider with an ADC. But that means using the voltage divider equation, and the difference in voltage between keys can get very small. Dropping the ...