登录
首页 » c » 交通灯

交通灯

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

代码说明:

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

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

发表评论

0 个回复

  • DTMF
    基于DSP的DTMF产生与检测 C语言编程,包括产生与峰值检测。(DSP-based DTMF generation and detection of C language programming, including the generation and peak detection.)
    2020-11-11 12:39:45下载
    积分:1
  • S3C2440A-debug-and-download-using-MDKPJlink
    hardware: 1.CPU:S3C2440A 2.norflash:2MB,bank0, 16bit 3.SDRAM: 64MB,bank6 4.Nandflash:256MB, 8bit 5.develop broad:TX2440A (V6.2 2011/05/12) 6.Jlink v8 software: 1.Jlink v4.08 2.MDK 4.23
    2012-01-29 03:47:37下载
    积分:1
  • 一个C#实现的视频会议系统
    资源描述一个用c#实现的视频会议系统,值得研究
    2023-04-03 15:25:05下载
    积分:1
  • STM32 SPI读写FM25CL64铁电存储器
    STM32 SPI读写FM25CL64铁电存储器,程序为103RBT6单片机读写代码,包括SPI初始化、字节发送接收代码、FM25CL64读写代码(STM32 SPI read/write FM25CL64 ferroelectric memory, the application for 103 rbt6 microcontroller, speaking, reading and writing code, including the SPI initialization code byte code to send and receive FM25CL64, speaking, reading and writing )
    2020-06-27 02:20:02下载
    积分:1
  • C# json转换类 实例源码下载
    json可以将某对象转换为字符串,然后发送给对方。对方收到后直接再转换成对象。推荐Newtonjson这个转换类,
    2015-01-14下载
    积分:1
  • mt7601u-master
    说明:  Many usb Wi-Fi adapters that claim to have an RT5370 chipset actually have an MT7601 chipset. There are no drivers in Linux that support this device. This driver can be used to set up a hotspot with these devices. This has compiled and works on the following kernels:
    2020-09-24 10:06:34下载
    积分:1
  • STM32驱动ch395_4个socket连接
    main.c已详尽注释连接的引脚 和 调试助手参数。STM32分别以串口,硬件SPI,模拟并口驱动CH395,4个socket连接, 原路返回上位机发送的数据。串口模式支持更改工作波特率,硬件SPI速率最高36MHz, 模拟并口较快,这三种模式支持在stm32任意型号下。(Main.c has commented on pins and debugging assistant parameters in detail. STM32 drives CH395 and 4 sockets by serial port, hardware SPI and analog parallel port respectively, and returns the data sent by the host computer in the original way. Serial mode supports changing working baud rate. Hardware SPI rate is up to 36MHz and analog parallel port is fast. These three modes support any model of stm32.)
    2021-04-19 09:58:51下载
    积分:1
  • Draw
    C# code for loading autocad DXF files and draw it to screen
    2013-02-04 06:28:49下载
    积分:1
  • cSharpUART
    c#编写串口通讯代码 多线程实现,老外写的,很有用,很全面(c# write serial communication code multithreading, written by foreigners, very useful, very comprehensive)
    2013-07-31 17:49:32下载
    积分:1
  • 图遍历找两点最短路径的多中方法:贪心 回朔 分支界限
    图遍历找两点最短路径的多中方法:贪心 回朔 分支界限-map traverse the shortest path to find two more of the methods : greed back Schomburg branch Limits
    2022-03-20 19:27:20下载
    积分:1
  • 696518资源总数
  • 105717会员总数
  • 10今日下载