文件名称:jiaotongdeng
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [WORD]
- 上传时间:
- 2012-11-26
- 文件大小:
- 5kb
- 下载次数:
- 0次
- 提 供 者:
- 萨*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
P1.0—P1.2分别为南北方向的红,黄,绿灯; P1.3——P1.5为东西方向的红,黄,绿灯;共阴极数码管的a,b,c,d,e,f,g,dp分别接P0.0-P0.7;数码管V0-V2分别接P2.0——P2.2(V0为百位,V1为10位,V2为个位);南北为主干道,能行时间180秒,黄灯亮3秒,东西为乡村道,通行时间为60秒,黄灯亮3秒;采用T0为中断源,扫描显示数码管,T1为定时器,每次定时0.5秒,两次计数1秒。
-P1.0-P1.2 north-south direction, respectively red, yellow, green P1.3- P1.5 for the east-west direction of the red, yellow, green common cathode LED of a, b, c, d, e , f, g, dp, respectively, then P0.0-P0.7 digital V0-V2 were then P2.0- P2.2 (V0 to one hundred, V1 is 10-bit, V2 is a bit) north and the south main road, can do time 180 seconds, the yellow light for 3 seconds, something for the rural road, access time of 60 seconds, yellow light for 3 seconds use T0 interrupt source, the scans showed that the digital control, T1 for the timer, each timer 0.5 seconds, two counts of 1 second.
-P1.0-P1.2 north-south direction, respectively red, yellow, green P1.3- P1.5 for the east-west direction of the red, yellow, green common cathode LED of a, b, c, d, e , f, g, dp, respectively, then P0.0-P0.7 digital V0-V2 were then P2.0- P2.2 (V0 to one hundred, V1 is 10-bit, V2 is a bit) north and the south main road, can do time 180 seconds, the yellow light for 3 seconds, something for the rural road, access time of 60 seconds, yellow light for 3 seconds use T0 interrupt source, the scans showed that the digital control, T1 for the timer, each timer 0.5 seconds, two counts of 1 second.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jiaotongdeng.doc