文件名称:interrupt1
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-03-25
- 文件大小:
- 1kb
- 下载次数:
- 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