文件名称:P1Ex
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 42kb
- 下载次数:
- 0次
- 提 供 者:
- m**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
P1口基本实验
P1口做输出口,接八只发光二极管(如图1-1),编写程序,使发光二极管从左到右依次单个点亮,再从右至左依次单个点亮,以此循环。各发光二极管的阳极通过保护电阻接到+5V的电源上,阴极接到接线端口上,因此使其点亮应使相应接线端口为低电平-P1 mouth I do basic experiments P1 output, and then eight light-emitting diodes (Figure 1-1), the preparation of procedures, so that a single light-emitting diode lighting from left to right, then right to left followed by a single light in order to cycle. The light-emitting diode resistance through the protection of the anode received+ 5V power supply, the cathode received wiring port, so it should be lit so that the corresponding connection port low
P1口做输出口,接八只发光二极管(如图1-1),编写程序,使发光二极管从左到右依次单个点亮,再从右至左依次单个点亮,以此循环。各发光二极管的阳极通过保护电阻接到+5V的电源上,阴极接到接线端口上,因此使其点亮应使相应接线端口为低电平-P1 mouth I do basic experiments P1 output, and then eight light-emitting diodes (Figure 1-1), the preparation of procedures, so that a single light-emitting diode lighting from left to right, then right to left followed by a single light in order to cycle. The light-emitting diode resistance through the protection of the anode received+ 5V power supply, the cathode received wiring port, so it should be lit so that the corresponding connection port low
(系统自动生成,下载前可以参看下载内容)
下载文件列表
P1Ex
....\Last Loaded P1Ex.DBK
....\main.c
....\main.LST
....\main.OBJ
....\P1Ex
....\P1Ex.DSN
....\P1Ex.hex
....\P1Ex.lnp
....\P1Ex.M51
....\P1Ex.Opt
....\P1Ex.plg
....\P1Ex.PWI
....\P1Ex.Uv2
....\P1Ex_Opt.Bak
....\Script1.c
....\STARTUP.A51
....\STARTUP.LST
....\STARTUP.OBJ
....\Last Loaded P1Ex.DBK
....\main.c
....\main.LST
....\main.OBJ
....\P1Ex
....\P1Ex.DSN
....\P1Ex.hex
....\P1Ex.lnp
....\P1Ex.M51
....\P1Ex.Opt
....\P1Ex.plg
....\P1Ex.PWI
....\P1Ex.Uv2
....\P1Ex_Opt.Bak
....\Script1.c
....\STARTUP.A51
....\STARTUP.LST
....\STARTUP.OBJ