文件名称:trafficlights
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-09-03
- 文件大小:
- 5kb
- 下载次数:
- 0次
- 提 供 者:
- F***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
假设一个十字路口为东西南北走向。开始为四个路口的红灯全部亮之后,东西路口的绿灯亮,南北路口的红灯亮,东西路口方向通车,延时一段时间后(20秒),东西路口的绿灯,闪烁若干次后(3秒),东西路口的绿灯熄灭,同时东西路口的黄灯亮,延时一段时间后(2秒),东西路口的红灯亮,南北路口的绿灯亮,南北路口方向通车,延时一段时间后(20秒),南北路口的绿灯闪烁若干次后(3秒),南北路口的绿灯熄灭,同时南北路口的黄灯亮,延时一段时间后(2秒),再切换到东西路口的绿灯亮,南北路口的红灯亮,之后重复以上过程。-Assuming a crossroads of East and West direction. Start all four red light intersection after crossing things green light red light intersection north and south, east-west direction crossing traffic, the delay period of time (20 seconds), something intersection green light flashes several times after ( 3 seconds), the green light goes something intersection while crossing the yellow light thing, the delay period of time (2 seconds), something intersection red light, green light junctions north and south, north-south crossing direction to traffic, after a period of delay (20 seconds), north-south crossing the green light flashes several times and (3 seconds), north-south crossing the green light is off, while the yellow light north-south junction, the delay period of time (2 seconds), and then switch to something green light junction, North-South junction red light, then repeat the process.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shiyan1.c
shiyan1.LST
shiyan1.M51
shiyan1.OBJ
shiyan1.uv2
pqx.plg
shiyan1