登录
首页 » SCM » The use of MCU timer timing, so that the crossroads at the traffic lights turn o...

The use of MCU timer timing, so that the crossroads at the traffic lights turn o...

于 2022-04-21 发布 文件大小:1.97 kB
0 306
下载积分: 2 下载次数: 1

代码说明:

利用单片机的定时器定时,令十字路口的红绿灯交替点亮和熄灭,实现主支路路口的交通信号灯控制(尽可能保持主线的畅通,即在通常情况下,保持主线的放行,只有在支线到达时,才放行支线),同时采用LCD显示倒计时时间及当前灯的状态-The use of MCU timer timing, so that the crossroads at the traffic lights turn out light and to achieve the main slip road junction traffic lights control (as far as possible the smooth flow of the main line, that is, under normal circumstances, to maintain the release of the main line, and only arrived at the branch only when the release branch), while using LCD display countdown time and the current state of light

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

发表评论

0 个回复

  • SPI是一个环形总线结构,由ss(cs)、sck、sdi、sdo构成,其时序其实很简单,主要是在sck的控制下,两个双向移位寄存器进行数据交换。 假设下面...
    SPI是一个环形总线结构,由ss(cs)、sck、sdi、sdo构成,其时序其实很简单,主要是在sck的控制下,两个双向移位寄存器进行数据交换。 假设下面的8位寄存器装的是待发送的数据10101010,上升沿发送、下降沿接收、高位先发送。 那么第一个上升沿来的时候 数据将会是sdo=1;寄存器=0101010x。下降沿到来的时候,sdi上的电平将所存到寄存器中去,那么这时寄存器=0101010sdi,这样在8个时钟脉冲以后,两个寄存器的内容互相交换一次。这样就完成里一个spi时序。 -SPI bus is a ring structure, by ss (cs), sck, sdi, sdo composition, its timing is actually very simple, mainly under the control of the sck and two bi-directional shift register for data exchange. Assuming the following 8-bit register is loaded to send the data to be 10,101,010, rising to send, receive falling edge, high first sent. Well, the first rising edge to the time data will be sdo = 1 register = 0101010x. Falling edge comes, sdi on the level will be stored to the register, then register at this time = 0101010sdi, so 8 clock pulse later, the contents of two registers to exchange time. This will be completed in a spi timing.
    2022-02-06 05:39:49下载
    积分:1
  • 我们知道我们没有翻译的信息只有中国DS18B20…
    供大家了解ds18b20只用,中文资料 大家不用翻译了 给大家节省时间了-DS18B20 for us to know the only Chinese we do not have translated the information to save you time
    2022-08-05 16:44:00下载
    积分:1
  • Nokia3310的proteus仿真模型pp72sp6.zip
    Nokia3310的proteus仿真模型pp72sp6.zip
    2022-04-29 21:15:37下载
    积分:1
  • 一个单片机串口调试助手。是绿色版的,很好用哦
    一个单片机串口调试助手。是绿色版的,很好用哦-Single-chip serial debugging assistant. Green version of, well spent, oh
    2023-08-17 05:55:03下载
    积分:1
  • EMC的开发库 是单片机性价比高的选择 提高快速开发
    EMC的开发库 是单片机性价比高的选择 提高快速开发-EMC microcontroller development libraries are cost-effective option to enhance rapid development of high
    2022-03-02 16:02:31下载
    积分:1
  • Calculator based on the realization of AD89S52 source.
    基于AD89S52的计算器的实现源程序。-Calculator based on the realization of AD89S52 source.
    2022-01-23 11:23:16下载
    积分:1
  • SAA7114 single
    SAA7114单片机控制程序,I2C控制原代码 -SAA7114 single-chip control procedures, I2C control of the original code
    2023-05-24 17:35:03下载
    积分:1
  • CAN总线原理和应用系统设计
    CAN总线原理和应用系统设计-邬宽明 网评很好的一本书,电子版的很难找,CAN总线开发的经典教科书-Principle and Application of CAN Bus System Design- Wu Kuan-ming network assessment a very good book, the electronic version of the hard to find, CAN Bus development of the classic textbook
    2023-02-02 13:15:04下载
    积分:1
  • MP3 spi Master例子程序
    MP3 spi Master例子程序-MP3 spi Master example procedure
    2022-02-13 02:23:00下载
    积分:1
  • massage chairs software development practices, VB
    按摩椅软件开发示例,VB-PIC单片机通讯题,主要是串口通讯问题-massage chairs software development practices, VB- PIC communications problems, the main problem is the serial communication
    2022-01-22 11:15:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载