摘要
传统的嵌入式开发主要以C语言为主,随着信息技术的高速发展,嵌入式系统越来越复杂,所要求的功能也日益增加。使用传统的面向过程的开发思路,必然会造成代码庞大,维护困难。而在PC端、移动端、服务器端的应用软件开发领域,早已引入了面向对象的编程思想,降低了软件开发的难度,增加了软件的可维护性。本文借助python语言,以传感器的控制为切入点,研究了一种将嵌入式开发思路由面向过程转变为面向对象的方法。
Traditional embedded development is mainly based on C language. With the rapid development of information technology, the embedded system is more and more complex and the required functions are increasing. Using traditional process-oriented development approaches inevitably leads to large code and difficult maintenance. In the field of software development on PC, mobile and server, object- oriented programming concept has been introduced, which reduces the difficulty of software development and increases the maintainability of software. In this paper, with the python language, taking the sensorcontrol as the entry point, a method to transform the embedded development idea from process- oriented to object-oriented is studied.
作者
李向文
Li Xiangwen(Wuhan Vocational College of Software and Engineering,Wuhan Hubei,430205;Wuhan University of Science and Technology,Wuhan Hubei,430081)
出处
《电子测试》
2018年第22期72-73,102,共3页
Electronic Test