摘要
为了缩短单片机的编程时间,提高单片机编程效率,文章采用Flowcode软件平台,对基于STC89C52单片机的温度测量装置进行编程,其主要流程为明确设计任务,Flowcode流程图设计,仿真实验检查,编译、保存程序4部分,创建了主程序、LCD显示程序、温度数据存储程序、温度数据读取程序Flowcode流程图。通过实际编程可知,基于Flowcode的单片机编程十分简单,可以在单片机编程中广泛应用。
In order to shorten the programming time of single-chip computer and improve the programming efficiency,this paper uses Flowcode software platform to program the temperature measuring device based on STC89C52 single-chip computer.The main flow chart is clear about the design task,Flowcode flow chart design,simulation experiment checking,compiling and saving program,and the main program is created.LCD display program,temperature data storage program,temperature data reading program Flowcode flow chart.Through practical programming,it can be seen that the single-chip computer programming based on Flowcode is very simple and can be widely used in single-chip computer programming.
作者
王冠军
Wang Guanjun(Xi'an Traffic Engineering Institute,Xi'an 710300,China)
出处
《现代科学仪器》
2018年第5期76-79,145,共5页
Modern Scientific Instruments
基金
2017年度陕西省教育厅专项科学研究计划项目课题《单片机流码编程平台的研发》(课题编号:17JK1015).
关键词
Flowcode
单片机
编程
仿真
Flowcode
Single Chip Microcomputer
Programming
Simulation