-
/* 程序详细功能介绍:
* 用AT89S51单片机产生“嘀、嘀、…”报警声从P3.2端口输出,产生频率为1KHz,
* 1KHZ方波从P3.2输出...
/* 程序详细功能介绍:
* 用AT89S51单片机产生“嘀、嘀、…”报警声从P3.2端口输出,产生频率为1KHz,
* 1KHZ方波从P3.2输出0.2秒,接着0.2秒从P3.2输出电平信号,如此循环下去,就形成我们所需的报警声了。
*
* 程序设计方法
*(1.生活中我们常常到各种各样的报警声,例如“嘀、嘀、…”就是常见的一种声音报警声,
* 但对于这种报警声,嘀0.2秒钟,然后断0.2秒钟,如此循环下去,假设嘀声的频率为1KHz,
* 由于要产生上面的信号,我们把上面的信号分成两部分,一部分为1KHZ方波,
* 占用时间为0.2秒;另一部分为电平,也是占用0.2秒;因此,我们利用单片机的定时/计数器T0作为定时,
* 可以定时0.2秒;同时,也要用单片机产生1KHZ的方波,对于1KHZ的方波信号周期为1ms,
* 高电平占用0.5ms,低电平占用0.5ms,因此也采用定时器T0来完成0.5ms的定时;
* 最后,可以选定定时/计数器T0的定时时间为0.5ms,而要定时0.2秒则是0.5ms的400倍,
* 也就是说以0.5ms定时400次就达到0.2秒的定时时间了。
*/
- 2022-05-23 23:28:34下载
- 积分:1
-
tlc 5615 驱动程序 大家应该能用得到
tlc 5615 驱动程序 大家应该能用得到-tlc 5615 driver we should be able to be
- 2023-04-24 10:25:03下载
- 积分:1
-
只能车控制主程序,控制各种硬件,单片机为飞斯卡尔9s12
只能车控制主程序,控制各种硬件,单片机为飞斯卡尔9s12-Vehicles can only control the main program to control a variety of hardware, microcontroller Scalfaro to fly 9s12
- 2023-09-01 01:55:04下载
- 积分:1
-
This an MCU
这是一个基于MCU的电机控制系统,单片机接收PC的信息,根据Modbus通信协议转换为相应电机控制命令。 整个程序在keil环境下开发,实现了电机的启动、停止、增速、减速、反馈运行时间和速度的功能。-This an MCU-based motor control system, the 8031 PC receiving the information, according to Modbus communication protocol conversion to the corresponding motor control commands. Keil in the whole process environment in development and the launch of the motor, stop, the growth rate, deceleration, feedback running time and speed functions.
- 2022-07-08 16:27:25下载
- 积分:1
-
RC500开发一套完整的信息,并进行了详细的测试…
RC500开发全套资料,内有详细经过测试详细资料。-RC500 development of a full set of information, which has been tested in detail more details.
- 2022-05-13 09:54:02下载
- 积分:1
-
9914芯片寄存器测试源文件,自检芯片使用
9914芯片寄存器测试源文件,自检芯片使用-9914 chip register testing source, the use of self-test chip
- 2022-10-04 09:10:03下载
- 积分:1
-
系统下,地球坐标转换的源代码,在WGS
系统下,地球坐标转换的源代码,在WGS-84坐标和北京54坐标之间的一套转换参数,可以全国通用的,在每个地方会不一样,因为它们是两个不同的椭球基准。 // WGS2GK.CPP : C++ version of Ottmar Labonde s WGSDHDN3.PAS with CPU time measurement // compile with MS Visual C++ version 6.0 or do the necessary modifications for your compiler // // Conversion of -system, the Earth coordinates conversion source code, the WGS-84 coordinates and coordinate between Beijing 54 set conversion parameters can be nationwide, in every place to be different, because they are two different ellipsoid benchmarks.// WGS2GK.CPP : C version of Silverstone Labonde s WGSDHDN3.PAS with CPU time measurement// compile with MS Visual C version 6.0 or do the necessary modifications for your compiler//// Conversion of
- 2022-03-26 04:25:06下载
- 积分:1
-
在网上找的,所以的关于MAX260,MAX261,MAX262,MAX263的中文资料及很多实例程序和经典电路...
在网上找的,所以的关于MAX260,MAX261,MAX262,MAX263的中文资料及很多实例程序和经典电路-Online to find, therefore, on the MAX260, MAX261, MAX262, MAX263 Chinese information and a lot of examples of procedures and the classical circuit
- 2022-12-19 12:25:04下载
- 积分:1
-
lcd display program, LCD menu program for learning the use of LCD
lcd显示程序,LCD菜单程序,可供学习LCD者使用
-lcd display program, LCD menu program for learning the use of LCD
- 2023-07-09 00:25:02下载
- 积分:1
-
PT16312 driver, now 80% of the appliance VFD (Fluorescent Display) are using it...
PT16312驱动程序,现在80%的家电VFD(荧光显示屏)都用它做驱动IC驱动!外部可接24个按键和8个口线。-PT16312 driver, now 80% of the appliance VFD (Fluorescent Display) are using it so driver ICs drive! External access the 24 keys and eight mouth lines.
- 2022-07-05 00:14:56下载
- 积分:1