文件名称:P1ExE
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 56kb
- 下载次数:
- 0次
- 提 供 者:
- m**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
P1口扩展实验
P1口既做输入口又做输出口,KEY1做为左转弯开关,KEY2做为右转弯开关。LED5、LED6做为左转弯灯,LED7、LED8做为右转弯灯(如图2-2)。 编程实现汽车转向灯功能,即:KEY1接高电平KEY2接低电平时,右转弯灯灭,左转弯灯以一定频率闪烁(注意:KEY拨向上方为0);KEY2接高电平KEY1接低电平时,左转弯灯灭,右转弯灯以一定频率闪烁;KEY1、KEY2同时接低电平时,发光二极管全灭;KEY1、KEY2同时接高电平时,发光二极管全亮。-P1 I extended not only to do experiments P1 I also do input output, KEY1 switch as a left turn, KEY2 as switches and turn right. LED5, LED6 as a left turn lights, LED7, LED8 as lights and turn right (Figure 2-2). Programming car turn signal function, namely: KEY1 high key2 access low-level access, the right turn lights out, left turn to a certain frequency of flashing lights (Note: KEY allocated to the top to 0) KEY2 access high Key1 low-level access, the left turn lights out, turn right to a certain frequency of flashing lights KEY1, KEY2 low at the same time, the light-emitting diode body KEY1, KEY2 high at the same time, the light-emitting diode light-wide.
P1口既做输入口又做输出口,KEY1做为左转弯开关,KEY2做为右转弯开关。LED5、LED6做为左转弯灯,LED7、LED8做为右转弯灯(如图2-2)。 编程实现汽车转向灯功能,即:KEY1接高电平KEY2接低电平时,右转弯灯灭,左转弯灯以一定频率闪烁(注意:KEY拨向上方为0);KEY2接高电平KEY1接低电平时,左转弯灯灭,右转弯灯以一定频率闪烁;KEY1、KEY2同时接低电平时,发光二极管全灭;KEY1、KEY2同时接高电平时,发光二极管全亮。-P1 I extended not only to do experiments P1 I also do input output, KEY1 switch as a left turn, KEY2 as switches and turn right. LED5, LED6 as a left turn lights, LED7, LED8 as lights and turn right (Figure 2-2). Programming car turn signal function, namely: KEY1 high key2 access low-level access, the right turn lights out, left turn to a certain frequency of flashing lights (Note: KEY allocated to the top to 0) KEY2 access high Key1 low-level access, the left turn lights out, turn right to a certain frequency of flashing lights KEY1, KEY2 low at the same time, the light-emitting diode body KEY1, KEY2 high at the same time, the light-emitting diode light-wide.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
P1ExE
.....\Last Loaded P1Ex.DBK
.....\Last Loaded P1ExE.DBK
.....\P1ExE
.....\P1ExE.c
.....\P1ExE.DSN
.....\P1ExE.hex
.....\P1ExE.lnp
.....\P1ExE.LST
.....\P1ExE.M51
.....\P1ExE.OBJ
.....\P1ExE.Opt
.....\P1ExE.plg
.....\P1ExE.PWI
.....\P1ExE.Uv2
.....\Script2.c
.....\STARTUP.A51
.....\STARTUP.LST
.....\STARTUP.OBJ
.....\Last Loaded P1Ex.DBK
.....\Last Loaded P1ExE.DBK
.....\P1ExE
.....\P1ExE.c
.....\P1ExE.DSN
.....\P1ExE.hex
.....\P1ExE.lnp
.....\P1ExE.LST
.....\P1ExE.M51
.....\P1ExE.OBJ
.....\P1ExE.Opt
.....\P1ExE.plg
.....\P1ExE.PWI
.....\P1ExE.Uv2
.....\Script2.c
.....\STARTUP.A51
.....\STARTUP.LST
.....\STARTUP.OBJ