首页 | 本学科首页   官方微博 | 高级检索  
     检索      

螺旋桨直流发电机模拟装置控制器中的按键处理程序
引用本文:李汉.螺旋桨直流发电机模拟装置控制器中的按键处理程序[J].广州航海高等专科学校学报,2010,18(1):9-13.
作者姓名:李汉
作者单位:广州航海高等专科学校,轮机系,广东,广州,510725
基金项目:广州航海高等专科学校科研项目(200812B06)
摘    要:本文采用LPC2114内部定时器延时,应用C++语言中面向对象的程序设计方法解决延时不占CPU机时和多个按键处理软件重用性的问题,使按键处理程序更为简捷和高效.该方法已应用于螺旋桨的直流发电机模拟装置的控制器中.实验证实控制器能够快速、准确地响应用户按键输入,极少出现因按键抖动造成系统错误响应的现象,取得较好的实用效果.

关 键 词:按键  抖动  定时器  

A Button-processing Program designed for the Propeller DC Generator Simulation Device Controller
LI Han.A Button-processing Program designed for the Propeller DC Generator Simulation Device Controller[J].Journal of Guangzhou Maritime College,2010,18(1):9-13.
Authors:LI Han
Institution:Department of Marine Engineer;Guangzhou Maritime College;Guangzhou Guangdong;510725;China
Abstract:With the application of an internal timer(LPC2114),this paper seeks a solution for the time delay without occupying CPU operating time and software reusability by adopting an object-oriented design method in C++ language as multi-buttons input,thus simplifies and improves the button-processing program.This method has been applied to the Propeller DC Generator Simulation Device Controller.The experiment testified that the controller can respond to the button input accurately and spontaneously with a narrow m...
Keywords:button  trembling  Timer  Class  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号