-
lcd kb 程序
lcd kb 程序-LCD kb procedures
- 2022-03-18 20:11:18下载
- 积分:1
-
The following is a range of ultrasound procedures, the hardware circuit as a res...
下面是一个超声波测距的程序,硬件电路由于电脑格盘已丢失,下面的代码是从样机上复制的。
硬件电路包括液晶显示、超声波的发射、超声波的接受、滤波、单片机处理。
液晶显示采用LCD1602模块,下面的代码里有液晶的驱动,可以拷贝用于它处。
超声波发射电路包括压电换能器及其支持电路,发射约44KHz的超声波。
超声波的接收电路包含一块CD40106处理芯片。技术指标大约是测距范围在三米左右,测量精度约在厘米级别。大量用于倒车雷达的测距中。-The following is a range of ultrasound procedures, the hardware circuit as a result of the computer grid plate has been lost, the following code is copied from the prototype. Hardware circuit including liquid crystal display, ultrasonic transmitter, ultrasonic acceptance filtering, single-chip processing. LCD1602 LCD module used, the following code, there are LCD drivers, you can use it to copy. Firing circuit including the piezoelectric ultrasonic transducer and its support circuitry, fired about 44KHz ultrasound. Ultrasonic receiver circuit includes a processing chip CD40106. Technical indicators for a range of about 3 meters range around the measurement precision level of about cm. Reversing a large number for the location of the radar.
- 2022-03-11 22:11:17下载
- 积分:1
-
EAC-TFT通讯协议.rarEAC
EAC-TFT通讯协议.rarEAC-TFT communication protocol. Rar-EAC-TFT communication protocol. Rar
- 2022-03-21 09:37:40下载
- 积分:1
-
其中sound.c 用于录音和回放。其中特别需要注意的是:1。目前声卡似乎不能打开全双工,所以如果fd = open("/dev/dsp", O_RDWR) ,...
其中sound.c 用于录音和回放。其中特别需要注意的是:1。目前声卡似乎不能打开全双工,所以如果fd = open("/dev/dsp", O_RDWR) ,则无法录音和回放。只能分别设置RDONLY和WRONLY。即半双工方式。否则,就是在录音的时候可以听见,但是无法回放。分析下来似乎是IIC总线中只分配了一个通道给声卡,或者是只启用了一个通道,所以无法录音和放音同步进行。解决方法就是分别以RDONLY方式打开进行录音和WRONLY方式打开进行放音。
Sound1.c用于将录音保存在test.wav文件中,并利用cast test.wav > /dev/sound/dsp回放文件。此处需要注意的是,录音频率必须是44100才能正确回放。否则就会出现类似快放的效果。分析应该是cast方式利用了dsp的默认播放频率44100,所以如果录音的时候低于这个频率,这放的时候就会快放。
此外,设置采样率的时候必须设置成16bit,否则会提示出错。原因尚不知道,估计是与声卡有关。
- 2022-01-21 20:45:44下载
- 积分:1
-
Perfect Example for Embedded
Perfect Example for Embedded-C begineers
Explaining use of Data types, Storage class specifiers.
The following code will not immediately run. After being debugged, you are to run this code in the MPLAB environment as outlined in the procedure.
This code, when working, will be a very simple program that initializes two variables, runs a loop, and stops. The variables are Fahrenheit and Celsius representing the two common units of Temperature. The loop walks Fahrenheit through all integers between -212.0 and +212.0 while setting the respective Celsius value each step of the way.-Perfect Example for Embedded-C begineers
Explaining use of Data types, Storage class specifiers.
The following code will not immediately run. After being debugged, you are to run this code in the MPLAB environment as outlined in the procedure.
This code, when working, will be a very simple program that initializes two variables, runs a loop, and stops. The variables are Fahrenheit and Celsius repr
- 2022-03-02 19:58:08下载
- 积分:1
-
EM78P153 source code, with 24C02, I2C, and the 1418 FM transmitter module contro...
EM78P153源代码,含24C02,I2C,以及1418FM发射模块控制部分!-EM78P153 source code, with 24C02, I2C, and the 1418 FM transmitter module control part!
- 2022-01-26 02:30:34下载
- 积分:1
-
针对ATMEL公司的9260(ARM926)的data flash测试程序
针对ATMEL公司的9260(ARM926)的data flash测试程序-For ATMEL" s 9260 (ARM926) of the data flash test procedures
- 2023-05-14 03:40:03下载
- 积分:1
-
DM6416板音频回路。接受音频并播放音频。提供完整的工程文件。...
DM6416板音频回路。接受音频并播放音频。提供完整的工程文件。-DM6416 board audio loop. Accept the audio and play audio. To provide a complete project file.
- 2022-12-19 09:05:04下载
- 积分:1
-
pid学习资料代码
pid学习资料代码-the code of study information of PID
- 2022-02-27 05:50:39下载
- 积分:1
-
C8051F020 SMB bus driver source code
C8051F020 SMB 总线驱动源代码-C8051F020 SMB bus driver source code
- 2022-02-06 14:07:20下载
- 积分:1