摘要
基于一款自主研发的以LPC1788芯片作为主控制器的低成本触摸屏,研究了基于em Win图形库的人机交互界面的软件设计。触摸屏底层设计采用三缓冲技术,通过SPI中断读取触摸屏控制器的值,使得系统触摸灵敏、界面切换流畅。软件完成了中文及包括透明图片的位图的显示,长按、双击等动作的消息定制,节能的背光调节以及通信等功能。软件功能完备,界面友好,达到了商用要求。
Based on a self-developed and low-cost LCD touch screen with LPC1788 as the master chip,this paper studies the software design of interactive interface based on em Win graphics library.The LCD touch screen is adopted the three-cushion technology,and read the value of the touch screen controller by SPI interrupt making it touch sensitive and the interface switch smooth.The software has completed the functions of Chinese and bitmap images include transparent picture display,the message of long press,double-click custom made,backlight adjustment with energy saving,communication.
出处
《工业控制计算机》
2015年第3期1-2,5,共3页
Industrial Control Computer