-
16输入8输出单片机程序
16输入8输出单片机程序-16 input output MCU procedure 8
- 2022-04-29 17:26:21下载
- 积分: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
-
89S52作为USB键盘做核心,注意修改厕所…
使用89S52为核心做的USB键盘,注意修改了一下windows设备描述符以及端点处理等就行了。用了一个4*4的小键盘,有0-9十个数字键,
Num Lock键,Caps Lock键,Shift键,Ctrl键,Alt键,回车键等。
最多可以有三个键同时按下,如果相交的话,最多只能两个键按下-89S52 use as the core of the USB keyboard to do, pay attention to modify the look and the windows device descriptor, such as treatment endpoint on the list. Used a 4* 4 small keyboard, has the number keys 0-9 10, Num Lock keys, Caps Lock key, Shift key, Ctrl key, Alt key, enter key and so on. Can have up to three keys pressed at the same time, if the intersection, then a maximum of only two keys pressed
- 2023-03-24 10:05:04下载
- 积分:1
-
HT93LC46EEPROM 是Holtek 制造的1K 位系列的EEPROM(电子可擦除只读存储器),一般
它用于微控制器的固定数据的存储。在本文中,我们...
HT93LC46EEPROM 是Holtek 制造的1K 位系列的EEPROM(电子可擦除只读存储器),一般
它用于微控制器的固定数据的存储。在本文中,我们将以Holtek 公司8 位微控制器HT49 系列为例,介绍该芯片常用的操作功能代码。用户只需把代码加到程序中,并且在使用HT93LC46 之前将引脚CS/SK/DI/DO 连接即可。-HT93LC46EEPROM is a 1K-bit Holtek manufactured series of EEPROM (electronic erasable read-only memory), general micro-controller is used to store fixed data. In this article, we will Holtek" s 8-bit microcontroller HT49 series, for example, the introduction of the chip code commonly used operating functions. Users simply add the code the program, and before the use of HT93LC46 pin CS/SK/DI/DO connection is needed.
- 2023-07-26 08:20:03下载
- 积分:1
-
常用的液晶屏LCM12864的演示程序,使用汇编语言编写
常用的液晶屏LCM12864的演示程序,使用汇编语言编写-common LCD LCM12864 the demo program, written in assembly language
- 2022-02-03 07:46:05下载
- 积分:1
-
Real
实时时钟芯片DS1302采用串行接口,只需3根引脚便可以完成操作,其使用非常方便。这里采用AT89S52单片机作为外部微处理器,来对DS1302进行控制-Real-time clock chip DS1302 serial interface, only three pins will be able to complete the operation, its use very convenient. AT89S52 microcontroller used here as an external microprocessor to control of the DS1302
- 2022-08-16 04:40:30下载
- 积分:1
-
非常有用的很容易使用的单
驱动开发介绍
关于windows下 驱动编写-windowsdirve
- 2022-06-01 13:56:16下载
- 积分:1
-
一种智能遥控电风扇控制器的实现源程序,拿来就可以用!
一种智能遥控电风扇控制器的实现源程序,拿来就可以用!-An intelligent fan controller realize remote source, use can use!
- 2022-04-17 20:28:23下载
- 积分:1
-
基于MCS51的小灯控制程序,里面有详细的注释,请多多指教
基于MCS51的小灯控制程序,里面有详细的注释,请多多指教-MCS51-based small-signal-controlled process, which has detailed notes, please advise
- 2022-01-30 18:21:12下载
- 积分:1
-
基于51单片机的串行口控制,ADC0809的AD采集及处理,实时时钟DS1302的运用...
基于51单片机的串行口控制,ADC0809的AD采集及处理,实时时钟DS1302的运用-Based on 51 single-chip microcomputer to control the serial port, ADC0809 the AD acquisition and processing, the use of Real-Time Clock DS1302
- 2022-05-26 09:19:43下载
- 积分:1