摘要
通过对新型智能开关柜项目的用户需求分析,提出了一种二维多级状态机模型。该模型通过对有限状态机的灵活运用和模块化编程实现,提高了C51单片机程序处理复杂任务时的条理性和可读性。程序模块通用性强,便于引用或修改。
This paper introduces a two-dimension multistage state machine through the analysis of newly Intelligent Switch Cabinet project's user requirments.By the flexible using of finite state machine model and modular programming,this model can improve the readability and orderliness of C51 singlechip processing the complex tasks.The program modules are strong versatility and convenient to reference or modify.
出处
《电脑编程技巧与维护》
2013年第22期13-14,27,共3页
Computer Programming Skills & Maintenance
关键词
二维多级状态机
智能柜
C51单片机
two-dimension multistage state machine
Intelligent Switch Cabinet
C51 singlechip