-
/* 程序详细功能介绍:
*当按下按键P3.3 ,AT89S51单片机产生“叮咚”声从P3.2端口输出
*程序设计方法
* 1. 我们用单片...
/* 程序详细功能介绍:
*当按下按键P3.3 ,AT89S51单片机产生“叮咚”声从P3.2端口输出
*程序设计方法
* 1. 我们用单片机实定时/计数器T0来产生700HZ和500HZ的频率,根据定时/计数器T0,我们取定时250us,
* 因此,700HZ的频率要经过3次250us的定时,而500HZ的频率要经过4次250us的定时。
* 2. 在设计过程,只有当按下SP1之后,才启动T0开始工作,当T0工作完毕,回到最初状态。
* 3. “叮”和“咚”声音各占用0.5秒,因此定时/计数器T0要完成0.5秒的定时,对于以250us为基准定时2000次才可以。
*/-/* Procedure detailed functional Introduction:* When pressing the button P3.3, AT89S51 Singlechip a
- 2023-01-12 02:35:03下载
- 积分:1
-
这是一个用单片机控制晶振播放音乐的例子,播放的是一首经典的歌曲,想听的朋友可以下载哦~~~而且有PROTEUS的仿真呢...
这是一个用单片机控制晶振播放音乐的例子,播放的是一首经典的歌曲,想听的朋友可以下载哦~~~而且有PROTEUS的仿真呢-This is a crystal oscillator with single-chip microcomputer to control the music player example, the player is a classic song, want to listen to our friends can download Oh ~ ~ ~ but it has PROTEUS simulation
- 2022-07-26 11:28:09下载
- 积分:1
-
串行通讯_查询方式_switch处理 有详细的文字字说明 方便使用者修改...
串行通讯_查询方式_switch处理 有详细的文字字说明 方便使用者修改-Serial communication means _ _switch handle inquiries have detailed user-friendly text words modify
- 2022-02-20 04:10:29下载
- 积分:1
-
这是一个基于51系列单片机的超声波测距程序 解压不需要密码....
这是一个基于51系列单片机的超声波测距程序 解压不需要密码.-This a microcontroller based on the Series 51 Ultrasonic Ranging decompression procedures without a password.
- 2022-01-25 15:10:30下载
- 积分:1
-
能够掌握单片机的管脚功能,简单了解并应用单片机作东西。...
能够掌握单片机的管脚功能,简单了解并应用单片机作东西。-to grasp the pin MCU functions, simple to understand and use things for the MCU.
- 2022-04-09 16:56:31下载
- 积分:1
-
DS18B20 thermometer C program uses AT89C2051 Singlechip, 12MHZ crystal, with a t...
DS18B20温度计C程序
使用AT89C2051单片机,12MHZ晶振,用共阳LED数码管-DS18B20 thermometer C program uses AT89C2051 Singlechip, 12MHZ crystal, with a total of Yang LED digital tube
- 2023-02-23 00:25:04下载
- 积分:1
-
FIQ有FIQ_PWM、FIQ_TMA和FIQ_TMB三个中断源,当定时器A或B计满溢出时产生中断请求信号TA_TIMEOUT_INT或TA_TIMEOUT_I...
FIQ有FIQ_PWM、FIQ_TMA和FIQ_TMB三个中断源,当定时器A或B计满溢出时产生中断请求信号TA_TIMEOUT_INT或TA_TIMEOUT_INT,CPU响应后进入中断执行相应的子程序控制二极管发光。A口的低四位接LED灯,B口的低四位接LED灯.-FIQ has FIQ_PWM, FIQ_TMA and FIQ_TMB three interrupt sources, when the timer A or B when the expiration overflow interrupt request signal TA_TIMEOUT_INT or TA_TIMEOUT_INT, CPU response after interruption of the implementation of the corresponding subprogram control light-emitting diodes. A low population of four LED lights then, B I take the low four LED lights.
- 2022-02-03 11:57:06下载
- 积分:1
-
1.K1作为左转弯开关,K2作为右转弯开关。L1、L2作为左转弯灯,L5、L6作为右转弯灯。
2.程序实现的功能:向上打K1时左转弯灯以一定频率闪烁,打K2...
1.K1作为左转弯开关,K2作为右转弯开关。L1、L2作为左转弯灯,L5、L6作为右转弯灯。
2.程序实现的功能:向上打K1时左转弯灯以一定频率闪烁,打K2时右转弯灯以一定频率闪烁,K1、K2同时向上或向下,发光二极管灭。-1.K1 as a left turn switch, K2 as a switch and turn right. L1, L2 as a left turn lights, L5, L6 as lights and turn right. 2. Program features: K1 when the left turn up to fight a certain frequency of flashing lights, turn right when playing K2 to a certain frequency of flashing lights, K1, K2 upward or downward at the same time, anti-light-emitting diodes.
- 2023-03-29 11:45:03下载
- 积分:1
-
著名的CS5463抄表模块,带无功计算。
著名的CS5463抄表模块,带无功计算。-CS5463 well-known meter reading module, with the calculation of reactive power.
- 2022-05-19 22:31:59下载
- 积分:1
-
实时时钟芯片ds1302的应用和c51程序,调试过的.
实时时钟芯片ds1302的应用和c51程序,调试过的.-ds1302 real-time clock chip decoder and the application procedures, debug before.
- 2022-02-27 08:06:33下载
- 积分:1