Matrix key, every time you press the key, the key value is retained instead of reset to 0, I hope you can help.
Author: jamie Aug 22, 2020 1311
Matrix key, every time you press the key, the key value is retained instead of reset to 0, I hope you can help.
Jack Posted on 2020/8/22 18:03:17
Look at the 51 single-chip 16 key scan code, a few lines of code are complete.
Reply 0Posted on 2020/8/23 8:16:50
Jack Reply
Brother doesn't need 51 to write, I am also very painful.
Reply 0Posted on 2020/8/23 20:02:14
jamie Reply
In fact, you can also improve the evolution of your code to look like mine in a concise form. 51 single-chip microcomputers have codes like yours everywhere. To improve the evolution, you need to understand the principle and the habit of self-induction. I can’t get used to that bunch of code. , It’s dazzling, so after working hard to improve and evolve, it has been used. People like you have been using it during learning. This phenomenon is common. Just like this forum, one single-chip IO pin drives the circuit behind it. Do they only use the form of an amplifier and don't know how to use a radio follower. Haven't they learned it? You may not have learned the radio follower circuit, so why not use it? It’s just because I don’t think about it. I have replied to this forum about the emitter follower circuit, so I don’t want to repeat it. The emitter follower input is high impedance and output low impedance, does it mean shrimp? It means that the impact on the front stage is minimal and the driving ability of the rear stage is enhanced. When the front stage is affected, the use of a follower should be considered, rather than blindly using the amplifier form. These are all derived from the understanding of the basic principles, it seems Behind the simplicity is the strong support of knowledge, just as the computer is easy to use, and behind it is the strong knowledge support.
Reply 0Gaby Posted on 2020/8/22 20:31:02
Incomplete code is not easy to change. You add the complete code to see.
Reply 0Derek Posted on 2020/8/23 6:03:10
You can clear it every time you start scanning.
Reply 0Manufacturer:Xilinx
Product Categories: Special equipment devices and IC
Lifecycle:Active Active
RoHS:
Manufacturer:Xilinx
Product Categories: FPGAs (Field Programmable Gate Array)
Lifecycle:Active Active
RoHS:
Manufacturer:Xilinx
Product Categories: FPGAs (Field Programmable Gate Array)
Lifecycle:Obsolete -
RoHS:
Manufacturer:Xilinx
Product Categories: FPGAs (Field Programmable Gate Array)
Lifecycle:Obsolete -
RoHS: No RoHS
Manufacturer:Xilinx
Product Categories:
Lifecycle:Any -
RoHS: -
Support