摘要
普通高等院校非计算机专业的学生编写复杂单片机程序会遇到困难.有限状态机是一种功能强大、有效易懂、适合处理多任务并发和阻塞等难题的编程方法.详细介绍了有限状态机程序设计方法,并运用实例说明该方法,可以降低程序复杂度,使用者可以轻松编写出有一定难度的程序.
The non-computer major students will meet difficulty when they write the complex program on the single chip microcomputer .State machine is a kind of programming method which is powerful ,efficient ,easy to understand .It is adapt to parallel multi mission , blocking problem and such hard problems .It introduces the method of SCM programming based on FSM in detail and uses a example to explain this method .It can reduce program complexity ,the user can Write a difficulty program breezily .
作者
郭兆正
于鹏
于震
GUO Zhao- zheng YU Peng YU Zhen(College of Engineering, Bohai University, Jinzhou 121013, China)
出处
《渤海大学学报(自然科学版)》
CAS
2016年第3期266-270,共5页
Journal of Bohai University:Natural Science Edition
基金
渤海大学教学改革B类项目(No:JG13YD012)
辽宁省教育厅教改项目(No:URP20140866)