-
MCU procedures, Keil compiler can achieve a host and multiple communications fro...
单片机串口程序,可以通过keil编译,实现一台主机和多台从机的通信,从机挂接同一条总线,主机对通信有决定权 -MCU procedures, Keil compiler can achieve a host and multiple communications from the plane, from the plane with an articulated bus, the mainframe has the right to decide Communications
- 2022-11-22 12:25: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
-
本文档提供了用C语言写的单片机滤波算法,因为单片机尽管不擅长实现算法和进行复杂的运算,但在一些特定的场合,如实时动态测量等应用上还是要实现一定的滤波算法。...
本文档提供了用C语言写的单片机滤波算法,因为单片机尽管不擅长实现算法和进行复杂的运算,但在一些特定的场合,如实时动态测量等应用上还是要实现一定的滤波算法。-This document provides the use of C language written in single-chip filtering algorithm, because the realization of single-chip, while not good at algorithms and complex calculations, but in some specific occasions, such as real-time dynamic measurement applications or to achieve a certain degree of filtering algorithm.
- 2022-11-18 12:20:03下载
- 积分:1
-
Compiled Tips and Tricks Guide for microchip products
Compiled Tips and Tricks Guide for microchip products
- 2022-09-05 05:55:03下载
- 积分:1
-
基于飞利浦 lpc2104 arm7 微处理器的部分程序
基于飞利浦 lpc2104 arm7 微处理器的部分程序-Microprocessor-based Philips lpc2104 arm7 Part of the procedure
- 2022-05-21 04:54:32下载
- 积分:1
-
SCM and LCD12864 parallel port control driver
单片机与LCD12864并口控制驱动程序-SCM and LCD12864 parallel port control driver
- 2022-04-15 10:48:13下载
- 积分:1
-
一款KingB公司的语音编码解码程序,效果还不错,支持PWM和VOC输出
一款KingB公司的语音编码解码程序,效果还不错,支持PWM和VOC输出-KingB a company
- 2023-03-30 17:35:03下载
- 积分:1
-
msp430系列介绍 msp430系列介绍 msp430系列介绍
msp430系列介绍 msp430系列介绍 msp430系列介绍-msp430系列介绍msp430系列介绍msp430系列介绍msp430系列介绍
- 2022-02-12 21:53:11下载
- 积分:1
-
此程序实现"看门狗"WDT的功能*/此程序实现"看门狗"WDT的功能*/
此程序实现"看门狗"WDT的功能*/此程序实现"看门狗"WDT的功能*/
- 2022-05-31 04:30:53下载
- 积分:1
-
基于PIC单片机的DS18B20读写源程序,包括读18B20ROM和在单总线上挂多个18B20的读写和串口通讯程序...
基于PIC单片机的DS18B20读写源程序,包括读18B20ROM和在单总线上挂多个18B20的读写和串口通讯程序-DS18B20 based on PIC microcontroller to read and write source code, including reading 18B20ROM and hung in a single bus, multiple 18B20 and serial communication program to read and write
- 2022-03-06 09:14:04下载
- 积分:1