文件名称:interrupt1
-
所属分类:
- 标签属性:
- 上传时间:2013-03-25
-
文件大小:703byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1:P1口接8个LED,单脉冲电路的负脉冲端接到单片机的P3.2引脚上。编写程序,使定时器0的中断方式产生100ms的延时,实现8个LED的亮点流动。在流动的过程中,如果按下单脉冲键,8个LED的发光状态将改变为同时闪烁,闪烁8次恢复亮点流动(闪烁时间间隔由延时程序完成)。
-1: P1 mouth 8 LED the negative pulse end of the single-pulse circuit connected to the MCU P3.2 pin. Writing programs, a 100ms delay timer 0 interrupt, 8 LED highlights of liquidity. In the flow of the process, if you press a single pulse button, 8 LED light-emitting state will change to flash simultaneously flashes 8 times to restore the flow of the highlights (flashing interval delay program completion).
-1: P1 mouth 8 LED the negative pulse end of the single-pulse circuit connected to the MCU P3.2 pin. Writing programs, a 100ms delay timer 0 interrupt, 8 LED highlights of liquidity. In the flow of the process, if you press a single pulse button, 8 LED light-emitting state will change to flash simultaneously flashes 8 times to restore the flow of the highlights (flashing interval delay program completion).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
interrupt1.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.