为了在无线办公门禁系统中实现通过LCD12864显示屏分屏显示多项内容,采用单片机C语言程序设计了多级菜单,应用结构体数组成员的定义,借助按键来改变菜单项的索引号,进行内容的分屏显示及菜单项之间的切换。在多项显示时,同一屏上显示项处于同一级,涉及的变量少,索引号级数少,系统开支就小。设计简化,按键实时性好,界面简单,操作方便。
In order to realize the split screen display of multiterm contents on LCD12864 display screen in the wireless office access control system,the multilevel menu was designed by means of a C language program of single chip microcomputer. The definition of the structural body array members is used,and the split screen display of multiterm contents and switching between menu items are performed with the help of buttons to change the index number of menu items. Split screen display switching between content and menu items is adopted to simplify the design. The system has the advantages of simple design,good realtime performance and simple interface,and is easy to operate.