文件名称:code
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [Text]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1.因为本实验是交通灯控制实验,所以要先了解实际交通灯的变化规律。假设一个十字路口为东西南北走向。初始状态0为东西红灯,南北红灯。然后转状态1南北绿灯通车,东西红灯。过一段时间转状态2,南北绿灯闪几次转亮黄灯,延时几秒,东西仍然红灯。再转状态3,东西绿灯通车,南北红灯。过一段时间转状态4,东西绿灯闪几次转亮黄灯,延时几秒,南北仍然红灯。最后循环至状态1。
-1. Because of this experiment is the traffic light control experiment, it must first understand the actual changes of traffic lights. Assuming a crossroads for east-west north-south orientation. Initial state 0 for the east-west red lights, red lights north and south. And then switch to state 1, the opening of the North-South green, something red. Over time to state 2, North-South green light flashing orange light will be activated several times to delay a few seconds, things are still red. Then state 3, the opening of something green, red lights north and south. Over time to a state of 4, things turn green light flashing orange light will be activated several times, delay a few seconds, the North and the South is still a red light. The last cycle to a state of 1.
-1. Because of this experiment is the traffic light control experiment, it must first understand the actual changes of traffic lights. Assuming a crossroads for east-west north-south orientation. Initial state 0 for the east-west red lights, red lights north and south. And then switch to state 1, the opening of the North-South green, something red. Over time to state 2, North-South green light flashing orange light will be activated several times to delay a few seconds, things are still red. Then state 3, the opening of something green, red lights north and south. Over time to a state of 4, things turn green light flashing orange light will be activated several times, delay a few seconds, the North and the South is still a red light. The last cycle to a state of 1.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
code.txt