期刊文献+

C语言循环语句实现单片机延时函数 被引量:1

Implementation of Delay Function of Microcontroller Unit by Using C Loop Statements
下载PDF
导出
摘要 延时是单片机教学中最常用的概念之一,因此延时函数是单片机控制程序中的一个重要函数。分别利用while循环语句、do-while循环语句、for循环语句以及while和for循环语句组合实现t ms延时点亮一个按照一定频率闪烁的LED灯,以此为例,总结了C语言循环语句实现单片机延时函数的方法,帮助学生在掌握C语言知识的基础上,增强了对单片机延时概念的理解,提高了教学效果。 Delay is one of the most commonly used concepts in microcontroller teaching , and delay function is an important function in the controlling programs of microcontroller unit .Take flashing LED lamps at a constant frequency lighted by t ms delay function, which realized using while, do-while, for, and combination of while and for loop statements, as an example, the delay functions of microcontroller C loop statements are summarized to help students enhance understanding the delay concepts of micro-controller unit based on the C knowledge.The results show the teaching methods are very good.
作者 徐雷 孙长智
出处 《安庆师范学院学报(自然科学版)》 2013年第4期117-120,共4页 Journal of Anqing Teachers College(Natural Science Edition)
基金 高职IT专业校内实训基地建设研究(JD10101) 物电实验实训中心项目和安徽省优秀青年人才基金项目(2012SQRL274)资助
关键词 单片机 C语言 延时函数 循环语句 microcontroller unit C language delay function loop statements
  • 相关文献

参考文献3

  • 1任照富,李学平.单片机原理与应用项目化教程[M].北京:中国建材工业出版社,2013:2-3.
  • 2陈玉平.单片机应用技术(第二版).武汉:华中科技大学出版社,2012:3.
  • 3斩桅,邬芝权,李骐,等.基于5l系列单片机的LED显示屏开发技术[M].北京:北京航空航天大学出版社,2009:77-80.

共引文献2

同被引文献5

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部