摘要
以开发、添加一个触摸屏IAL驱动为例,阐述往MiniGUI中添加驱动的步骤,包括开发驱动程序及添加2个步骤。开发驱动程序通过将文件中所有IMPS2替换为TOUCH、添加串口初始化程序、编写READ函数、添加TOUCH项、给MouseType赋一个值、添加判断语句及修改native.h文件完成。
Take developing, and adding a touch screen IAL driver program as an example, introduce the adding steps of MiniGUI. The steps include developing driver program and adding. The developing driver program realizes the adding by replacing IMPS2 with TOUCH, adding interface initialization program, compiling READ function, adding TOUCH item, evaluating MouseType, adding judgement sentence and amending native.h document.
出处
《兵工自动化》
2008年第7期89-90,共2页
Ordnance Industry Automation