-
交通灯: 1. 因为本设计是交通灯的控制,所以要先了解实际交通灯的变化规律。假设一个十字路口为东西南北走向。初始状态0为东西红灯,南北红灯。然后转状态1南北绿灯...
交通灯: 1. 因为本设计是交通灯的控制,所以要先了解实际交通灯的变化规律。假设一个十字路口为东西南北走向。初始状态0为东西红灯,南北红灯。然后转状态1南北绿灯通车,东西红灯。过一段时间转状态2,南北绿灯闪几次转亮黄灯,延时几秒,东西仍然红灯。再转状态3,东西绿灯通车,南北红灯。过一段时间转状态4,东西绿灯闪几次转亮黄灯,延时几秒,南北依然红灯。最后循环至状态1。 2. 双色LED是由一个红色LED管芯和一个绿色管芯封装在一起,公用负端。当红色正端加高电平,绿色正端加低电平,红灯亮;红色正端加低电平,绿色正端加高电平,绿灯亮;两端都加高电平,黄灯亮。 急救车和交通灯: 中断服务程序的关键是:1. 保护进入中断时的状态,并在推出中断之前恢复进入时的状态;2. 必须在中断程序中设定是否允许中断重入,即设置EX0位。 本设计使用了INT0中断,一般中断程序进入时应保护 PSW,ACC以及中断程序使用但非其专用的寄存器。本设计中的INT0程序保护了PSW,ACC,2等三个寄存器并且在退出前恢复了这三个寄存器。另外中断程序中涉及到关键数据的设置时应关中断,及设置时不允许重入。本设计中没有涉及这种情况。 name:trled1.asm trled2.asm-traffic lights : 1. Because of the design of the traffic lights, so there must first understand the traffic lights change. Assuming a crossroads for the east-west north-south. Initial state of things 0 red light, red light north-south. Then the state opening of a north-south green, red things. For a period of time to state 2-green flashing yellow light switch several times, a few seconds delay, things are still red. Three sub-state, opening things green, red ligh
- 2022-04-29 18:17:53下载
- 积分:1
-
基本放大器电路原理图的基本工作原理…
基本的放大器电路放大器的基本工作原理图解法分析等几种分析方法-Basic amplifier amplifier circuit diagram of the basic working principle of analysis of several analytical methods such as
- 2022-06-13 09:17:03下载
- 积分:1
-
UTF8和GB2312互转
查表法,纯C语言写的 UTF8和GB2312互转.这里面没有使用到任何的类库,方便嵌入式开发。不需要什么何的头文件之类的声明Table method, pure C language UTF8 and GB2312 referrals which there is no use to any library, to facilitate embedded development. What"s the need to declare any class header file
- 2022-03-12 00:46:35下载
- 积分:1
-
本程序用汇编语言编写,其主要目的是实现各种数值之间的转换,并显示在屏幕上。...
本程序用汇编语言编写,其主要目的是实现各种数值之间的转换,并显示在屏幕上。-this program in assembler language, and its main purpose is achieved between the various numerical conversion, and display on the screen.
- 2022-08-02 18:52:26下载
- 积分:1
-
GPRS demo, use ppp to connect internet,
use ttyS1 to ctrol GPRS
GPRS demo, use ppp to connect internet,
use ttyS1 to ctrol GPRS-GPRS demo, use ppp to connect internet, use ttyS1 to ctrol GPRS
- 2022-02-22 04:08:17下载
- 积分:1
-
DMX512主控制器
应用背景此代码是使用RS485芯片接受DMX512解码器传输数据。关键技术这背后的技术是让更多的串行通道DMX512。
- 2023-01-01 19:50:04下载
- 积分:1
-
自动升降电梯控制器设计
要求:
设计一个6层楼的电梯控制器。
该控制器可控制电梯完成6层楼的载客服而且遵循方向优先原则,并能响应提前关门延时关门,并...
自动升降电梯控制器设计
要求:
设计一个6层楼的电梯控制器。
该控制器可控制电梯完成6层楼的载客服而且遵循方向优先原则,并能响应提前关门延时关门,并具有超载报警和故障报警;
同时指示电梯运行情况和电梯内外请求信息。-Auto-Lift elevator controller design requirements: design of a six-story elevator controller. The controller can control the completion of six-story elevator containing the principle of giving priority customer service, and follow the directions, and can respond to close ahead of schedule delay closing, and has overload alarm and fault alarm also instructed the elevator and elevator operation request information both inside and outside.
- 2022-05-09 10:35:04下载
- 积分:1
-
ZigBee 2006协议
zigbee2006协议规范中文
详尽的zigbee协议描述文件-zigbee 2006 protocol
- 2022-03-12 23:17:50下载
- 积分:1
-
三菱plc工控自动化及模拟仿真软件工控自动化
三菱plc工控自动化及模拟仿真软件工控自动化-Mitsubishi plc Industrial automation and simulation software Industrial Automation
- 2022-08-04 04:35:15下载
- 积分:1
-
AVR单片机串口通信程序 已经应用很久
AVR单片机串口通信程序 已经应用很久 -AVR single-chip serial communication procedure has been applied a long time
- 2022-02-25 02:22:04下载
- 积分:1