-
calculated in the design, such as : cash registers, calculators often encountere...
在需要计算的设计中,诸如:收款机、计算器等经常遇到2位小数的处理,简单的处理方法就是将数据乘以100后存储、处理,现提供一函数用于6字节除以100的n次方-calculated in the design, such as : cash registers, calculators often encountered two decimal treatment, the simple approach is to be multiplied by 100 after the data storage, processing, we provide a function to 6 bytes divided by the n-th 100
- 2022-01-23 10:13:51下载
- 积分:1
-
C8051F320和89c52的串口通讯程序,c语言编写
C8051F320和89c52的串口通讯程序,c语言编写-C8051F320 and 89C52 Serial communication procedures, c language
- 2022-02-05 20:51:07下载
- 积分:1
-
51 Series MCU
基于51系列单片机的4×4矩阵式键盘识别.正在学习单片机-51 Series MCU-based 4 × 4 matrix keyboard identification. Are learning Singlechip
- 2022-06-02 11:26:13下载
- 积分:1
-
用于C51的简单看门狗电路,易于大家调用
用于C51的简单看门狗电路,易于大家调用-C51 for the simple watchdog circuit, we call easy
- 2022-10-31 05:40:03下载
- 积分:1
-
The MCU of atmega16 of AVR and the MCU of C51 communication
AVR的mega16单片机与51单片机的串口通信程序源码-The MCU of atmega16 of AVR and the MCU of C51 communication
- 2023-06-20 02:40:03下载
- 积分:1
-
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
-
控制板与串口通信程序
用串口命令让汽缸动作
控制板与串口通信程序
用串口命令让汽缸动作-Control panel with the serial communication program so that the cylinder moves with the serial command
- 2023-07-05 13:30:04下载
- 积分:1
-
LCM module .9320 relevant information .320 X240
LCM module .9320 relevant information .320 X240
- 2022-02-12 06:25:42下载
- 积分:1
-
This is a mobile application bake, and three low
这是一款烘手机应用程序,有高中低三个档,用数码管显示-This is a mobile application bake, and three low-profile high school, with digital display
- 2022-12-25 20:25:03下载
- 积分:1
-
STC12C5410AD的SPI程序 以及AD程序 已经经过硬件调试 可用以及F410的中文版本...
STC12C5410AD的SPI程序 以及AD程序 已经经过硬件调试 可用以及F410的中文版本-STC12C5410AD the SPI procedures, as well as AD after hardware testing procedures have been available, as well as the Chinese version of F410
- 2023-03-02 20:35:04下载
- 积分:1