摘要
以AVR单片机C语言编程规范为例,介绍了单片机C语言开发的有关编程规范.通过分析目前大部分单片机C语言编程教材中普遍存在的编写问题,探讨如何在单片机工程项目编程实践教学过程中培养学生养成良好的编程习惯,从而提高单片机工程项目的编程实践能力和综合设计能力.
By taking AVR MCU C language programming specification as an example,the paper introduced the relevant programming specifications for MCU C language development.Based on the common problems in the compilation of most MCU C language programming textbooks,it was discussed how to train students to form good programming habits in programming practice teaching of MCU engineering project,so as to improve the programming practice ability and comprehensive design ability of MCU engineering projects.
作者
元泽怀
李丽芳
YUAN Zehuai;LI Lifang(School of Electronic and Electrical Engineering,Zhaoqing University,Zhaoqing,Guangdong 526061,China)
出处
《肇庆学院学报》
2020年第2期32-36,共5页
Journal of Zhaoqing University
基金
肇庆学院质量工程及教学改革项目(zlgc201752)。
关键词
单片机
C语言
工程项目
模块化
编程规范
MCU
C language
engineering projects
modularization
programming specification