pic18f66j60_C_receiving
代码说明:
建立环状队列保存过去10个键盘状态,利用天然获得的时延,消键抖,防止连续动作,选择响应模式(下键或抬键动作)。还可以防止两键同按引起的误动作,这里主要靠键值识别,两键同下的键值与单键下键的值不同,拒绝之即可。(Create circular queue holds the state over the past 10 steps of the keyboard, using natural available delay, jitter elimination keys, to prevent the continuous action, select the response mode (the key or lift button action). You can also prevent the two key malfunction caused by the same, this is mainly identified by the key, two keys with one-touch keys with the following value under the key difference, the refusal can be.)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!