文件名称:jiaotongdeng
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 辉*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这个是我以前单片机课程设计上我做的程序,希望对你有一定帮助。
要求:根据TD-PIT-B实验箱现有的实验电路,设计电路并编写程序使六个灯按照交通灯变化规律亮、灭或者闪烁。十字路*通灯的变化规律要求:
(6) 南北路口的绿灯,东西路口的红灯同时亮30秒。
(7) 南北路口的黄灯闪烁3次,同时东西路口的红灯继续亮。
(8) 南北路口的红灯,东西路口的绿灯同时亮30秒。
(9) 南北路口的红灯继续亮,同时东西路口的黄灯闪烁3次。
(10) 转(11)重复。-This is my previous MCU design process I do hope you have some help. Requirements: According to the TD-PIT-B Experiment Box existing experimental circuit, circuit design and programming to make six changes of light according to the traffic light on, off or flashing. Changes of traffic lights crossroads requirements: (6) North-South crossing the green light, red light intersection at the same time something light for 30 seconds. (7) North-South crossing the yellow light flashes 3 times, and things continue to light the red light intersection. (8) North-South crossing the red light, green light while crossing things light for 30 seconds. (9) North-South crossing red lights continue to shine, while crossing the yellow light flashing thing 3 times. (10) transfer (11) repeat.
要求:根据TD-PIT-B实验箱现有的实验电路,设计电路并编写程序使六个灯按照交通灯变化规律亮、灭或者闪烁。十字路*通灯的变化规律要求:
(6) 南北路口的绿灯,东西路口的红灯同时亮30秒。
(7) 南北路口的黄灯闪烁3次,同时东西路口的红灯继续亮。
(8) 南北路口的红灯,东西路口的绿灯同时亮30秒。
(9) 南北路口的红灯继续亮,同时东西路口的黄灯闪烁3次。
(10) 转(11)重复。-This is my previous MCU design process I do hope you have some help. Requirements: According to the TD-PIT-B Experiment Box existing experimental circuit, circuit design and programming to make six changes of light according to the traffic light on, off or flashing. Changes of traffic lights crossroads requirements: (6) North-South crossing the green light, red light intersection at the same time something light for 30 seconds. (7) North-South crossing the yellow light flashes 3 times, and things continue to light the red light intersection. (8) North-South crossing the red light, green light while crossing things light for 30 seconds. (9) North-South crossing red lights continue to shine, while crossing the yellow light flashing thing 3 times. (10) transfer (11) repeat.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jiaotongdeng.c