文件名称:danpianjikongzhidianji
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.35kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本程序主要由键盘程序、显示器程序、步进电机驱动程序三部份组成,主程序首先初始化各变量,将显示器的高3位消隐,步进电机驱动的各引脚均输出高电平,然后调用键盘程序,并作判断,如果有键按下,则调用键盘处理程序,否则直接转下一步。下一步是将当前的转速值转换为BCD码,送入显示缓冲区;接着判断StartEnd这个位变量,是“1”还是“0”,如果是“1”,则开启定时器T1,否则关闭定时器T1-This procedure mainly by the keyboard process, monitor procedures, stepper motor driver is composed of three parts, the main program first initializes the variables, will display the high-3 blanking, the stepper motor-driven output pins are high level, and then call the keyboard program, and to determine if there is press the button, the call processing keyboard, or directly to the next step. The next step is the speed of the current value is converted to BCD code, into the display buffer StartEnd then determine the bit variables are " 1" or " 0" , if it is " 1" , then open the timer T1, or turn off from time to time device T1
相关搜索: 步进电机 键盘 显示
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建 文本文档.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.