摘要
单片机安装与调试技能大赛是电工电子类竞赛的一项关键赛事,其难点在于程序的编写。从系统和模块两个层面运用有限状态机的编程方法,能帮助参赛选手厘清思路、分解复杂的任务、提高程序的执行效率和可靠性。
Micro-controller Unit installation and debugging skills competition is a key competition in electrical and electronic vocational students skills competition,the difficulty lies in the programming.Using the programming method of FSM from two levels of system and module can help contestants to clarify their ideas,decompose complex tasks,and improve the efficiency and reliability of program execution.
作者
杨元元
YANG Yuan-yuan(Hubei Three Gorges Technical College,Yichang Hubei 443111)
出处
《数字技术与应用》
2020年第2期206-207,共2页
Digital Technology & Application
关键词
有限状态机
状态
菜单设计
finite state machine
state
menu design