摘要
将面向对象的编程思想引入单片机控制器的编程过程,其方法是,通过创建以实体和功能要求为原则的对象,并对对象的功能加以约束和规范,以消息的方式来传输系统中不同对象之间的信息.实际应用表明,该方法能使各个对象的行为均在规范和控制之中,而且对象的封装也为程序的移植提供了很好的独立模块,使程序的后期维护与项目开发的管理更为便利.
The application of object oriented technique into the programming of MCU aims to create the objects according to entity and function,regulate and restrain the function of the objects,and pass the system information of different objects in the form of message.It proved that this method can put action of objects under regulation and control.Resides,the encapsulation of each object provides separate modules for the transplantation of program,which makes the maintenance and management of program more convenient.
出处
《郑州轻工业学院学报(自然科学版)》
CAS
2004年第1期38-40,共3页
Journal of Zhengzhou University of Light Industry:Natural Science
关键词
面向对象
单片机
编程方法
编程思想
object oriented
MCU
programming idea
programming method