文件名称:danpianjikongzhidianji
介绍说明--下载内容均来自于网络,请自行研究使用
本程序主要由键盘程序、显示器程序、步进电机驱动程序三部份组成,主程序首先初始化各变量,将显示器的高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