摘要 |
A control device includes a plug, a number of resistors and a number of switches, and a number of buttons corresponding to the switches respectively. The resistors and the switches cooperatively form a plurality of current circuits. A control system using the control device includes an electronic device, which includes a socket connected to the plug. The socket includes an ADCIO pin coupled to the first pin, which connects to a power source via a pull-up resistor. A connection node between the ADCIO pin and the pull-up resistor forms a voltage detection point. When the control device is connected to the electronic device, if one of the buttons is pressed, the switch corresponding to the pressed button is switched on to generate a corresponding conductive current circuit, and generate an input signal at the voltage detection point. The electronic device executes a corresponding function according to the input signal.
|