-
程序描述:这个范例说明如何使用8051,以及汇编语言的程序连结,
当我们按下向上数的按钮之后,程序就会把0到9的共
阳7段显示器字型码存入AT93C46...
程序描述:这个范例说明如何使用8051,以及汇编语言的程序连结,
当我们按下向上数的按钮之后,程序就会把0到9的共
阳7段显示器字型码存入AT93C46;如果我们按下向下
数的按钮之后,程序就会把9到0的共阳7段显示器字
型码存入AT93C46。
程序每一次重新开始执行时(Power on 或是Reset),8051
会先从AT93C46当中读出最前面的10个位组,然后
就反复地将这10个位组的数据经由PORT 1送到1个
共阳七段显示器。*/-Procedure Description: This example shows how to use the 8051, as well as links to assembly language programs, when we pressed up a few of the button, the program will bring a total of 0-9 yang seven segment display font yards into AT93C46 if we press Next down the number button, the program will bring a total of 9-0 Yang seven segment display font code into AT93C46. Process to begin again each time when the (Power on or Reset), 8051 will start with AT93C46 were read out in front, 10-bit groups, and then repeated these 10-bit groups of data via the PORT 1 sent to a A total of seven-segment display Yang.* /
- 2023-02-20 13:30:04下载
- 积分:1
-
AT89S51资料,中文版的,很利于大家学习
AT89S51资料,中文版的,很利于大家学习-AT89S51 information, the Chinese version, it is beneficial to them to learn from
- 2022-02-01 12:29:01下载
- 积分:1
-
我们编写了一个支持位操作、普通端口操作、并行操作、串行操作等多种模式的12864驱动...
我们编写了一个支持位操作、普通端口操作、并行操作、串行操作等多种模式的12864驱动-we prepared a support-man, the ordinary operation of ports, parallel operation, Serial operation of a multi-modality 12864 Drivers
- 2023-04-23 05:45:02下载
- 积分:1
-
Pump procedures HT46R47 automatically detects the water pressure, water, water f...
抽水机程序,采用HT46R47 可自动检测水压,流水,水满等情况来判断电机是否运行;-Pump procedures HT46R47 automatically detects the water pressure, water, water filled motor, etc. to determine whether the operation
- 2022-05-23 18:03:17下载
- 积分:1
-
次文章是介绍ad9851应用的,文章详细介绍了9851的功能和与51单片机的接法,还有c程序....
次文章是介绍ad9851应用的,文章详细介绍了9851的功能和与51单片机的接法,还有c程序.-Second article is to introduce the application of the AD9851, the article introduced in detail the functions and 9851 MCU with 51 connection, there are c procedures.
- 2022-07-01 09:44:07下载
- 积分:1
-
80C52单片机上用C语言实现的双机红外通信程序,可以替代遥控器遥控长虹电视机,具有一定的学习性功能。...
80C52单片机上用C语言实现的双机红外通信程序,可以替代遥控器遥控长虹电视机,具有一定的学习性功能。-80C52 single-chip using C language to achieve the two-plane infrared communication program, an alternative to Changhong TV remote control, the study has certain features.
- 2022-03-20 10:28:44下载
- 积分:1
-
使用汇编语言的89C2051LED显示程序源码
使用汇编语言的89C2051LED显示程序源码-The use of assembly language source 89C2051LED display program
- 2023-04-29 05:35:03下载
- 积分:1
-
void InitGoertzel(void)
作用:初始化算法参数
用法:采用算法进行检测前执行一次,如果需要改变参数,调用SetParameter(...
void InitGoertzel(void)
作用:初始化算法参数
用法:采用算法进行检测前执行一次,如果需要改变参数,调用SetParameter()
float CGoertzel::GetMagnitude(unsigned char * sampleData, int length) //算法主接口
作用:对采集下来的音频数据用算法处理,返回一个结果
参数:sampleData-音频数据缓冲地址指针;
length-缓冲区尺寸(音频数据数量),字节数;
返回值:返回算法结果。
void SetParameter(DWORD set_SampleRate, DWORD set_TargetFreq, DWORD set_BlockSize)
作用:设置算法参数;
参数:set_SampleRate-音频数据抽样速率;
set_TargetFreq-目标信号频率;
set_BlockSize-算法数据块尺寸(采样点);
用法:调用本函数后,需要调用一次InitGoertzel(void)才会生效-void InitGoertzel (void) function: initialization algorithm parameters Usage: The algorithm performs a pre-test, if the need to change the parameters, calling SetParameter () float CGoertzel:: GetMagnitude (unsigned char* sampleData, int length)// Algorithm for the main interface role: to collect audio data from the treatment algorithm to return a result parameter: sampleData-audio data buffer address pointer length-buffer size (the number of audio data), number of bytes return value: the return of
- 2023-03-11 13:30:04下载
- 积分:1
-
ARM7 LPC2148通过DS18B20采集温度,通过1602显示
ARM7 lpc2148通过DS18B20温度采集并通过1602显示-ARM7 lpc2148 through DS18B20 temperature acquisition and through 1602 show
- 2022-03-31 07:14:00下载
- 积分:1
-
I2C software simulation source code, which is described
用软件模拟I2C的源代码,内有说明-I2C software simulation source code, which is described
- 2022-06-02 15:56:39下载
- 积分:1