摘要
为了在无线警报系统上实现数据输入、显示及存储等屏幕显示功能,提出了基于4*4个键盘交互的LCD显示多屏菜单设计方法。以ARM CortexTM-M0内核的微处理器为主控芯片,结合点阵液晶模块HTM12864进行C语言程序系统设计。对菜单数据项和功能函数进行独立设计,使菜单显示窗口化,并为每个窗口配置一个按键处理的回调函数来实现窗口切换。系统运行结果表明,该方法实现简单,占用内存少,操作界面简便,达到设计方法的目的。
In order to realize the data input, display, storage and other screen display functions of Wireless Alert System, an intercrossing LCD multilevel screen menu design method based on 4 * 4 keyboards is presented. Combined with the dot matrix LCD module HTM12864, the MCU based on ARM Cortex'-M0 core is designed as the main control chip for the system, which is realized by C programming language. Menu data items and menu function are designed separately. Make the windowing menu display and configure a key-handling callback function for each window to switch the window. The system implementation result shows that the method is simple, less memory space is taken up and the operation interface is convenient, achieve the purpose of the method.
出处
《电子设计工程》
2014年第11期118-120,125,共4页
Electronic Design Engineering
基金
国家自然科学基金资助项目(61005017)