登录
首页 » c » 交通灯

交通灯

于 2022-03-12 发布 文件大小:208.51 kB
0 83
下载积分: 2 下载次数: 1

代码说明:

基于51单片机的交通灯设计,用红、绿、黄三色发光二极管作信号灯,主干道为东西向,有红、绿、黄三个灯;支干道为南北向,也有红、绿、黄三个灯。红灯亮禁止通行;绿灯亮允许通行;黄灯亮则给行驶中的车辆有时间停靠到禁行线之外。由于主干道车辆比较多而支干道车辆比较少,所以主干道的绿灯时间较长。当主干道允许通行亮绿灯时,支干道的红灯亮。而支干道允许通行亮绿灯时,主干道亮红灯,两者交替重复。主干道每次放行50s,支干道每次放行30s。在每次由亮绿灯变成亮红灯的转换过程中间,需要亮5s的黄灯作为过渡,以使行驶中的车辆有时间停靠到禁行线以外。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • serial_test
    C#下编写wince6.0的串口通信示例代码(To write the wince6.0 serial communication example code in C#)
    2012-10-31 16:18:23下载
    积分:1
  • 5G-PICKit2
    NRF905RD wireless module - 1 receiver
    2012-03-15 02:11:54下载
    积分:1
  • An_example_of_Tetgen
    不是本人编的,转自csdndengpengyong,个人能力有限,望谅解。Tetgen是一个生成四面体网格的开源工具,本实例提供了从网上下载的开源的源码和一个简单的使用的示例,其中附带了Tetgen自带了的一个查看剖分出来的网格的工具TetView.exe,可以运行打开剖分出来的文件查看剖分的结果是否正确。(I was not prepared, carried csdndengpengyong, individual ability is limited, hope and understanding. Tetgen tetrahedral mesh generation is an open source tool, the examples provided from the Internet to download the open source code and a simple example of the use of which comes Tetgen comes out of a mesh grid view tool TetView . exe, you can run out of file viewing open split split the results are correct.)
    2021-03-14 20:49:22下载
    积分:1
  • 在给定符号和概率的情况下,实现Huffman码(HC)生成二进制码。
    在给定符号和概率的情况下,实现哈夫曼码(HC)生成二进制码。
    2022-02-09 11:11:51下载
    积分:1
  • Zynq7000AP_SoC_IEEE1588_PTP_design
    说明:  在ZYNQ FPGA上实现PTP协议的镜像文件,可以直接用(The mirror file of PTP protocol implemented on ZYNQ FPGA can be used directly.)
    2021-03-25 11:59:14下载
    积分:1
  • cPPReference
    C++学习资料,chm格式的文件,希望对大家有帮助(C++ Study File For C++ Premier)
    2013-07-25 15:44:37下载
    积分:1
  • fillter
    AD filter program for charge
    2006-01-10 10:36:06下载
    积分:1
  • caption screen by using # with vs 2008 studio
    caption screen by using # with vs 2008 studio -caption screen by using# with vs 2008 studio
    2022-03-24 05:39:52下载
    积分:1
  • windows--programming-
    英文版《Windows Programming 5th》 这是一本英文版电子书,既然是学计算机的那肯定是要啃英文版的了(English version of <<Windows Programming 5th>> This is an English book, since it is that computer science is certainly to read the English version )
    2011-06-02 15:17:29下载
    积分:1
  • Csiggnalproceo
    通信信号处理丛书,全面系统地阐述了信号处理的的基本理论与应用,是每个通信人的必备参考资料。 (Communication Signal Processing Series, a comprehensive and systematic exposition of the basic signal processing theory and applications, is an essential reference for each communication.)
    2012-06-13 14:20:34下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载