摘要 |
A keyboard circuit includes a CPU, a plurality of keys aligned in n rows and m columns, n first resistors, m second resistors, a first voltage output terminal, a second voltage output terminal, and a detection resistor. A first contact of each of the plurality of keys in a column is electronically connected to the first voltage output terminal by a second resistor, and a second contact of each of the plurality of keys in the column is grounded by the detection resistor. The first contact of each of the plurality of keys in a row is electronically connected to the second voltage output terminal by a first resistor. The CPU is grounded by the detection resistor and the first voltage output terminal alternates with the second voltage output terminal to output a voltage under control of the CPU. |