-
A方向和B方向各设红(R)、黄(Y)、绿(G)和左拐(L)4盏灯,4种灯按合理的顺序亮灭,并将时间以倒计时的形式显示出来。同时要设置两个方向的紧急通道模式,当某...
A方向和B方向各设红(R)、黄(Y)、绿(G)和左拐(L)4盏灯,4种灯按合理的顺序亮灭,并将时间以倒计时的形式显示出来。同时要设置两个方向的紧急通道模式,当某一方向有紧急事件发生时,交警按下紧急通道按钮,该方向绿灯亮,另外一个方向红灯亮,等紧急事件解除后(假定计时10s),交通恢复原来的状态
要求在数码管上显示两个方向的灯种和计时,实现紧急情况按钮输入功能
根据交通灯控制要实现的功能,可考虑用两个并行执行的always模块(两个进程)来分别控制A和B两个方向的4盏灯。这两个always模块使用同一个时钟信号,以进行同步,也就是说,两个进程的敏感信号时同一个
每个always模块控制一个方向的4种灯按如下顺序点亮,并往复循环:绿灯-黄灯-左拐灯-黄灯-红灯,灯亮的时间由自己设定
由于板上资源有限,如觉得实现困难,可去掉左拐灯,即顺序为绿灯-黄灯-红灯。-err
- 2022-01-25 21:01:54下载
- 积分:1
-
ppt files, introduced the company s principal Renesas Embedded Systems product l...
ppt文件,介绍了瑞萨公司的主要嵌入式系统产品系列,以及M16C单片机的性能指标与结构特点
-ppt files, introduced the company s principal Renesas Embedded Systems product line, as well as the M16C MCU performance and structural characteristics
- 2022-03-28 14:29:02下载
- 积分:1
-
Atmel arm7有关USB应用的实例,可在IAR上面直接运行
Atmel arm7有关USB应用的实例,可在IAR上面直接运行-Atmel arm7 Examples of applications on the USB can be run directly above in the IAR
- 2023-05-06 02:10:04下载
- 积分:1
-
单片机在液晶上实现菜单
单片机在液晶上实现菜单-To achieve single-chip LCD menu !!!!!!!!!!!
- 2023-05-19 06:35:03下载
- 积分:1
-
2051terminal
2051 Terminal.ASM
2002.12.26 整理打印
2002.12.27 增加对Reset命令的处理(9A)
2003.01.21 增加灭灯时清除数据-2051terminal
- 2022-02-06 00:38:46下载
- 积分:1
-
该算法为基于PD增益自适应调节的PID控制
用MATlab开发,能够管直接运行...
该算法为基于PD增益自适应调节的PID控制
用MATlab开发,能够管直接运行-The algorithm for the adaptive gain based on the PD of the PID control Matlab development, be able to pipe directly to run
- 2022-07-10 06:11:06下载
- 积分:1
-
It is a representative program of PID arithmetic.The effect of control is excell...
典型PID算法程序,经实验,控制效果优,控制精度高。-It is a representative program of PID arithmetic.The effect of control is excellent and the precision of control is high via experiment.
- 2023-03-24 17:55:04下载
- 积分:1
-
8051单片机点对多机通讯,希望对大家又所帮助,我也需要下载资料啊!...
8051单片机点对多机通讯,希望对大家又所帮助,我也需要下载资料啊!-8051 points on the multi-machine communications, and they hope to also help everyone, I also need to download the information ah!
- 2022-03-04 01:31:18下载
- 积分:1
-
MCU AVR mage8 Bootload procedures, full version, I do projects like the use of t...
AVR mage8单片机的bootload程序、完整版本、本人做项目一下在用、此程序为16m晶振版本、非常好用-MCU AVR mage8 Bootload procedures, full version, I do projects like the use of this procedure for the 16m crystal version, very easy to use
- 2022-04-01 00:36:48下载
- 积分:1
-
工程师在用Keil开发程序时,在代码性能要求较高的场合,需要对代码段的执行时间作统计。比如在做LED显示屏软件扫描程序,或一些定时采集数据程序,如果在软件仿真的...
工程师在用Keil开发程序时,在代码性能要求较高的场合,需要对代码段的执行时间作统计。比如在做LED显示屏软件扫描程序,或一些定时采集数据程序,如果在软件仿真的时候就能够清晰知道代码段的运行时间,那就可以对程序进行优化,或者插入汇编代码(asm)达到最高运行速度。
关键字:Keil DLL C语言 ASM 汇编-engineers in the development process with Keil, the code performance requirements higher occasions, need to block the execution time statistics. For example, in the software do LED scanning procedures, or some regular data collection procedures, If the software simulation time can understand clearly code of the running time, it can process optimization, or insert code compilation (asm2) to achieve maximum speed. Keywords : Keil DLL C language compilation ASM
- 2022-09-10 18:40:02下载
- 积分:1