文件名称:TRAFFICLIGHTS8255
介绍说明--下载内容均来自于网络,请自行研究使用
交通信号灯的控制:
1. 通过8255A并口来控制LED发光二极管的亮灭。
2. A口控制红灯,B口控制黄灯,C口控制绿灯。
3. 输出为0则亮,输出为1则灭。
4. 用8253定时来控制变换时间 。
要求:设有一个十字路口,1、3为南,北方向,2、4为东西方向,初始态为4个路口的红灯全亮。之后,1、3路口的绿灯亮,2、4路口的红灯亮,1、3路口方向通车。延迟30秒后,1、3路口的绿灯熄灭,而1,3路口的黄灯开始闪烁(1HZ)。闪烁5次后,1、3路口的红灯亮,同时2、4路口的绿灯亮,2、4路口方向开始通车。延迟30秒时间后,2、4路口的绿灯熄灭,而黄灯开始闪烁。闪烁5次后,再切换到1、3路口方向。之后,重复上述过程。
-traffic signal control : 1. A parallel port by 8255 to control the LED light emitting diodes-destruction. 2. A red light population control, population control yellow B and C population control green. 3. Output-0, the output of a destruction. 4. Use 8253 to control transform regular time. Requirements : there is a crossroads, 1,3 to the south, to the north, the east-west direction 2,4. Initial state for four junctions in the whole bright red light. After 1,3 junctions green light, red light junctions in the 2,4-, 1,3 junctions opening direction. Delayed 30 seconds after the green light junctions 1,3 out and the junction of 1,3 begin blinking yellow light (1HZ). Stars 5, 1,3 junctions in the red light, green light junctions in the 2,4-, 2,4 direction was opened to traffic junctions. Delayed
1. 通过8255A并口来控制LED发光二极管的亮灭。
2. A口控制红灯,B口控制黄灯,C口控制绿灯。
3. 输出为0则亮,输出为1则灭。
4. 用8253定时来控制变换时间 。
要求:设有一个十字路口,1、3为南,北方向,2、4为东西方向,初始态为4个路口的红灯全亮。之后,1、3路口的绿灯亮,2、4路口的红灯亮,1、3路口方向通车。延迟30秒后,1、3路口的绿灯熄灭,而1,3路口的黄灯开始闪烁(1HZ)。闪烁5次后,1、3路口的红灯亮,同时2、4路口的绿灯亮,2、4路口方向开始通车。延迟30秒时间后,2、4路口的绿灯熄灭,而黄灯开始闪烁。闪烁5次后,再切换到1、3路口方向。之后,重复上述过程。
-traffic signal control : 1. A parallel port by 8255 to control the LED light emitting diodes-destruction. 2. A red light population control, population control yellow B and C population control green. 3. Output-0, the output of a destruction. 4. Use 8253 to control transform regular time. Requirements : there is a crossroads, 1,3 to the south, to the north, the east-west direction 2,4. Initial state for four junctions in the whole bright red light. After 1,3 junctions green light, red light junctions in the 2,4-, 1,3 junctions opening direction. Delayed 30 seconds after the green light junctions 1,3 out and the junction of 1,3 begin blinking yellow light (1HZ). Stars 5, 1,3 junctions in the red light, green light junctions in the 2,4-, 2,4 direction was opened to traffic junctions. Delayed
(系统自动生成,下载前可以参看下载内容)
下载文件列表
微机原理课程设计——8255,8253交通灯模拟实验 [文档在线提供].doc