-
基于中断控制的声光报警器的设计.采用中断方式,设计一个声光报警器的硬件电路和控制程序。程序运行时,一旦8位开关信号量状态满足设定条件,就触发中断,使发光二级管按...
基于中断控制的声光报警器的设计.采用中断方式,设计一个声光报警器的硬件电路和控制程序。程序运行时,一旦8位开关信号量状态满足设定条件,就触发中断,使发光二级管按规律闪烁,同时扬声器播放一段音乐。
硬件设备包括一台微机、一个MFID微机实验箱、一块T型板,2输入四与门 74ls08、8位总线驱动器 74ls245、LM386A音频放大器、排阻、扬声器各一个,发光二极管8个,470uF电容2个、104电容4个,插线若干。
-Interrupt-based control of sound and light alarm design. Using interrupt mode, designing a sound and light alarm hardware circuits and control procedures. The program is running, once the 8-bit switch signal to set the amount of state to meet the conditions to trigger interrupts, so that light-emitting diode flashes according to the law, while speakers play a piece of music. Hardware includes a computer, a computer simulation, MFID box, a T plate, 2 input 4 and gate 74ls08, 8-bit bus driver 74ls245, LM386A audio amplifier, exclusion, speakers of a light-emitting diode 8, 470uF capacitor 2 a, 104 capacitors 4, plug-line number.
- 2022-02-06 01:23:00下载
- 积分:1
-
设计程序使一个LED发光管以0.6秒为周期闪烁,即发光管每0.3秒点亮或熄灭一次。
分析题目要求,主要涉及两方面的操作,即控制LED发光管的亮灭以及定时0....
设计程序使一个LED发光管以0.6秒为周期闪烁,即发光管每0.3秒点亮或熄灭一次。
分析题目要求,主要涉及两方面的操作,即控制LED发光管的亮灭以及定时0.3秒。对于LED发光管,只用一个IO就可以控制了(例如使用IOA0);而对于0.3秒定时,我们可以利用TimerA定时器轻易地实现。-The design process of a LED to LED blinking 0.6 seconds for the cycle, that is, every 0.3 seconds LED lit or extinguished once. Analysis of the subject requirements, mainly related to two aspects of the operation, that is, control LED LED light out as well as the timing of 0.3 seconds. The LED light-emitting tube, only one can control the IO (such as the use of IOA0) and for 0.3 seconds from time to time, we can use to easily achieve TimerA timer.
- 2022-03-16 15:40:25下载
- 积分:1
-
16*64位点阵点 阵显示汉字程串口输出字符数据,P2口输出行扫描信号,P0_0输出595锁存信号...
16*64位点阵点 阵显示汉字程串口输出字符数据,P2口输出行扫描信号,P0_0输出595锁存信号-16* 64 dot matrix display Chinese characters lattice-serial output character data, P2 mouth output signal scanning, P0_0 595 latches the output signal
- 2022-10-13 19:35:03下载
- 积分:1
-
rf2401接收/发送C51演示
Rf2401 receive/send c51 demo
- 2023-04-10 20:30:04下载
- 积分:1
-
该文件是在LCM12864驱动代码的LPC2131
此文件是LCM12864在LPC2131上的驱动代码-This file is in LCM12864 driver code on the LPC2131
- 2022-02-02 15:20:01下载
- 积分:1
-
单片机串口程序,有一定的难度,适合串口使用比较熟练的人...
单片机串口程序,有一定的难度,适合串口使用比较熟练的人-Single-chip serial procedures, have a certain degree of difficulty, suitable for serial use more skilled people
- 2022-04-12 15:09:11下载
- 积分:1
-
PIC16F877控制LED进行任何显示,该源码只做了北京两个字的显示...
PIC16F877控制LED进行任何显示,该源码只做了北京两个字的显示-PIC16F877 to control LED of any revealed that the source only the word display in Beijing
- 2022-07-23 14:16:00下载
- 积分:1
-
nRF24E1 multiple single
nRF24E1多发单收,接收程序。原理,切换接收频率。-nRF24E1 multiple single-admission, to receive the procedure. Principle, to switch the receiving frequency.
- 2022-04-12 06:38:10下载
- 积分:1
-
SG320240 LCM specifications, which detail the data and programming interfaces.
SG320240 LCM 规格书,里面详细了接口资料与编程方法。-SG320240 LCM specifications, which detail the data and programming interfaces.
- 2022-02-06 04:59:19下载
- 积分:1
-
该示例使用gpiftool效用说明单/突发数据的读/写(的)…
The example uses the GPIFTool utility to illustrate single/burst data read(s)/write(s).
- 2022-10-23 05:45:03下载
- 积分:1