文件名称:exp3
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [ASM] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 张*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
花样流水灯:8个发光二极管D1~D8分别接在单片机P0.0-P0.7端口上,一个开关接在P3.0上。要求输出端口输出“0”时,发光二极管亮。开关闭合时,开始按P0.0+P0.7、P0.1+P0.6、P0.2+P0.5、P0.3+P0.4的顺序依次点亮LED,再按P0.3+P0.4、P0.2+P0.5、P0.1+P0.6、P0.0+P0.7的顺序点亮LED,重复循环。开关断开时,立刻停止点亮指示灯。-Mood Light water: 8 LEDs D1 ~ D8, respectively, connected to the microcontroller ports P0.0-P0.7, P3.0 on a switch connected. Required output port " 0" , the light-emitting diode light. Switch is closed, starting at P0.0+ P0.7, P0.1+ P0.6, P0.2+ P0.5, P0.3+ P0.4 in the order light LED, then P0.3+ P0.4, P0.2+ P0.5, P0.1+ P0.6, P0.0+ P0.7 order light LED, repeat the cycle. Switch off, stop light indicator.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
exp3.asm