文件名称:key
介绍说明--下载内容来自于网络,使用问题请自行百度
独立按键程序,用定时器中断做,键扫描间隔为10ms,最终确认键须延时350ms左右。
本按键程序须定义键扫标志,键处理标志和键值寄存器。
P3.2和P3.3为按键,P1口为键显示。
12M晶体,定时处置为5ms-Independent key program, timer interrupt do key scan interval of 10ms, final confirmation of the keys required to delay about 350ms. The key procedures to be defined key sweep flag, the flag of the key processing and key register. P3.2 and P3.3 key to display buttons, P1 port. 12M crystal timing disposal of 5ms
本按键程序须定义键扫标志,键处理标志和键值寄存器。
P3.2和P3.3为按键,P1口为键显示。
12M晶体,定时处置为5ms-Independent key program, timer interrupt do key scan interval of 10ms, final confirmation of the keys required to delay about 350ms. The key procedures to be defined key sweep flag, the flag of the key processing and key register. P3.2 and P3.3 key to display buttons, P1 port. 12M crystal timing disposal of 5ms
(系统自动生成,下载前可以参看下载内容)
下载文件列表
key.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.