登录
首页 » c » 交通灯

交通灯

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

代码说明:

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

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

发表评论

0 个回复

  • equation
    线性方程组的计算,采用的是高斯消元法来实现的。只有主要的算法代码,没有写主函数(Calculation of linear equations using the Gauss elimination method to achieve. Only the main algorithm code, did not write the main function)
    2010-08-05 19:34:04下载
    积分:1
  • project11
    this is matlab code very cool
    2011-03-23 18:43:46下载
    积分:1
  • MCP6S26
    用程控放大器MCP6S26对信号进行增益放大,并用显示屏显示出来。(With a programmable gain amplifier MCP6S26 the signal amplification, and displayed by the display.)
    2020-12-15 01:19:13下载
    积分:1
  • librarymanger
    说明:  vc写的,用了odbc来创建数据源,然后操作access数据库的图书馆管理系统(library system by vc odbc)
    2010-04-13 12:51:20下载
    积分:1
  • werwerwer
    说明:  对灰度图象进行正交变换,并进行滤波,产生平滑图象(Gray-scale images of the orthogonal transformation, and filtering to produce a smooth image)
    2008-11-22 11:02:15下载
    积分:1
  • dockdemo
    说明:  一个关于window界面的程序代碼:實習了可改變可停靠工具栏大小的功能。(a window on the interface code : attachment of the change will be docked toolbar size functions.)
    2006-04-15 16:15:48下载
    积分:1
  • lhj_shuibiaozhizhengshibie
    水表指针识别系统,能够从外部导入任何一个bmp图像,最好是水表图,能够对该图形操作并读出图中水表的度数 (meter target identification system from the outside into any one bmp image, preferably meter map, Graphics to be able to operate and read out the map meter reading)
    2007-06-21 20:57:09下载
    积分:1
  • XAudio2技术在地铁列车驾驶模拟器中的应用
    说明:  论文:论述Audio2在地铁模拟器中的应用(Thesis: discuss the application of Audio2 in subway simulator)
    2019-11-15 17:39:53下载
    积分:1
  • wpf 做的天气预报工具源码 支持更换城市 mvvm模式
    wpf 做的天气预报工具源码 支持更换城市 mvvm模式
    2014-01-01下载
    积分:1
  • MQTT
    【实例简介】MQTT,本例中包含客户端和服务器端,可以很好的完整进行MQTT的调试,并很方便进行代码复用,具有很好的示例效果。
    2021-11-25 00:44:44下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载