按照时间控制原则,利用并行接口和定时器,采用时间中断方式设计一套十字路口的交通灯管理系统,通行时间(或禁止时间)30秒,准备时间3秒,在准备时间里黄灯闪烁3次,闪烁频率为0.5秒,周而复始。可利用8255、8253、8259等接口电路。
Time control in accordance with the principle, the use of parallel interface and timer, interrupt and time to design a crossroads of traffic lights management systems, access time (or the prohibition of the time) 30 seconds, three seconds preparation time, time in the preparation of yellow light flashes 3 times, blinking frequency of 0.5 seconds and again. Can be used such as interface circuits 8255,8253,8259. (2008-06-17, DOS, 18KB, 下载34次)