摘要 |
An electronic device with multiple buttons includes a first resistor combination, a second resistor combination, N buttons, and an output node. A first end of the first resistor combination is connected to a high voltage. A second end of the first resistor combination is connected to a third end of the second resistor combination. A fourth end of the second resistor combination is connected to a low voltage. The first resistor combination has p serially connected resistors, and the second resistor combination has q serially connected resistors. The sum of p and q equals M, a positive integer equal to or large than 3. Each button is connected in parallel with at least one resistor. The output node is deposited between the first and the second resistor combinations. The output node outputs an analog signal whose voltage corresponds to the states of the buttons.
|