文件名称:led
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- ren****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
led程序 一个按键KEY_ON接在P1.6与GND之间,另一个按键KEY_OFF接P1.7与GND之间,按KEY_ON后LED亮,按KEY_OFF后LED灭。同时按下LED半亮,LED保持后松开键的状态,即ON亮OFF灭。
代码-Led program a button KEY_ON taken up in P1.6 and between GND, another key KEY_OFF meet P1.7 and between GND, according to KEY_ON led light after, according to KEY_OFF led out after. At the same time in LED light under half, LED to keep the key to loosen the state, that is, ON light OFF the destroyer.
code
代码-Led program a button KEY_ON taken up in P1.6 and between GND, another key KEY_OFF meet P1.7 and between GND, according to KEY_ON led light after, according to KEY_OFF led out after. At the same time in LED light under half, LED to keep the key to loosen the state, that is, ON light OFF the destroyer.
code
(系统自动生成,下载前可以参看下载内容)
下载文件列表
led.txt