摘要
研究了状态变量法在键盘控制程序设计中的应用,通过分析键盘状态矩阵表和键盘状态图之间的关系,建立状态变量与键盘控制子程序之间的一一对应关系,从而实现键盘程序控制.通过实例分析了该方法的具体设计流程和编程思路.
This paper studies the application of state variables in the design of the keyboard control program, by analyzing the relationship between keyboard state matrix and the basic concepts of the keyboard state diagram, to establish the corresponding relationship between the state variables and keyboard control subroutine, enabling the keyboard program control. By the example analysis of the method of specific design process and programming ideas.
出处
《宁夏师范学院学报》
2012年第3期74-77,91,共5页
Journal of Ningxia Normal University
基金
宁夏师范学院科研基金资助项目(YB2011007)
关键词
状态变量法
键盘控制
程序设计
The state variables
Keyboard control
Program design