DeqingSun / ch55xduino

An Arduino-like programming API for the CH55X
GNU Lesser General Public License v2.1
449 stars 87 forks source link

Keyboard Matrix Problem #166

Closed shzang closed 6 months ago

shzang commented 6 months ago

I am using the ch55xduino project to make a pad keyboard. At present, the hardware has been completed, but I found that the code of the keyboard in the project example is 3 keys. I found some projects on the network, and one pin corresponds to one key. I don't know how to write the matrix more efficiently. Can you provide some examples?

shzang commented 6 months ago

To add, the core of my pad keyboard is wch552g.

DeqingSun commented 6 months ago

Matrix key reading is a general electronic problem, and not specific to this repo. I do not have any code sample either. You should read how other people do matrix reading.