-
DMX512
void DMX_SendPacket(void) //发送DMX512数据
{
//配置为普通IO
pDMX_buf = 0 发送起始码 00
GPIO_Tx_Config(0) //设置发送的引脚为普通IO
PA2 = 0 //输出低电平
delay_us(150) //延时150us
PA2 = 1 //输出高电平
delay_us(13) //延时13us
GPIO_Tx_Config(1) //设置发送的引脚为复用IO
//USART1->DR = 0x0100 | TXDData[0] //第0帧前导码(DMX512 receiving procedDMX512 receiving procedure ure DMX512 receDMX512 receiving procedure iving procedure DMX512 receiving procedure )
- 2016-02-19 09:23:42下载
- 积分:1
-
lsp
简单的lsp驱动框架,有助于理解lsp驱动架构(The lsp drive framework)
- 2012-05-04 14:46:21下载
- 积分:1
-
ljep
简单读文件入数组程序,编译已通过,可直接运行。(Simply read the file into an array of programs, compile has been adopted, can be directly run.)
- 2009-11-09 23:10:10下载
- 积分:1
-
MFCdatabase
说明: MFC数据库编程MFC数据库编程MFC数据库编程(MFC Database Programming MFC Database Programming MFC Database Programming)
- 2010-04-23 02:46:54下载
- 积分:1
-
MFCPADOPAccess_budget_mgr
使用ADO,进行Access数据库的存取操作,VC6以及更新版本均可使用,有代码注释。注:实现了记账管理软件,基于MFC的界面(With ADO, Access database access operations performed, VC6 and later versions can be used with code comments. Note: The realization of accounting management software, MFC-based interface)
- 2014-05-31 17:26:12下载
- 积分:1
-
chengxu
GPS高程拟合,包括源代码,界面,请认真书写上传资料(GPS Elevation Fitting)
- 2020-11-19 16:29:38下载
- 积分:1
-
CALENDAR
在程序中嵌入日历,是一本书中找到的很有学习的价值(Embed calendar program is useful to learn the value ,found in a book)
- 2013-12-24 09:27:15下载
- 积分:1
-
MATLAB
接收端采用的算法和程序流程与发送端发送的OFDM符号的帧结构有关系。具体的帧结构,以及定时估计,频偏估计,剩余误差跟踪的算法可参考算法说明文档。这里对程序的流程进行说明。
首先根据短训练字的特性进行相关运算,进行信号到达检测,当检测到相关值大于门限一定次数后,认为有信号到达。然后根据长训练字的特性,进行相关运算,进行OFDM符号FFT窗口起始位置的估计。估计出FFT窗口的位置后,先在时域进行小频偏的估计,将两个长训练字进行小频偏补偿后,进行FFT运算,根据FFT运算的结果进行整数倍频偏的估计。这些参数估计完成后,就可以进行数据解调了。先对数据部分进行完整的频偏补偿,然后根据估计的FFT窗口位置进行FFT运算得到频域的数据,进行解调。然后在对应于导频的子载波位置上提取出导频信息,根据导频信息估计出剩余定时误差以及剩余的信道响应误差,将误差量送入环路进行跟踪。当收到所有数据后,重新回到信号到达检测状态,进行下一次信号到达的检测和信号接收。
(good)
- 2020-11-04 23:49:52下载
- 积分:1
-
HuffmanTree
该系统应具有以下功能:
(1) I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存于文件hfmTree中。
(2) E:编码(Encoding)。利用已建好的哈夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。
(3) D:译码(Decoding)。利用已建好的哈夫曼树将文件CodeFile中的代码进行译码,结果存入文件TextFile中。
(4) P:打印代码文件(Print)。将文件CodeFile以紧凑格式显示在终端上,每行50个代码。同时将此字符形式的编码文件写入文件CodePrin中。
(5) T:打印哈夫曼树(Tree printing)。将已在 中的哈夫曼树以直观的方式(树或凹入表形式)显示在终端上,同时将此字符形式的哈夫曼树写入文件TreePrint中。
(The system should have the following features: (1) I: initialization (Initialization). Read from the terminal character set size n, and n and n characters right value, establishes a Huffman tree, and save it in the file hfmTree in. (2) E: encoding (Encoding). Has been built using the Huffman tree (if not in memory, reads from the file hfmTree), the text of the document ToBeTran encoded, and then putting the result in the CodeFile file. (3) D: decoding (Decoding). Huffman tree has been built using the file CodeFile the code will be decoded, the result is stored in the file TextFile. (4) P: Printing code files (Print). CodeFile in a compact format the document displayed on the terminal, one per line 50 code. While this character in the form of written documents CodePrin encoded file in. (5) T: Print Huffman tree (Tree printing). Would have been in the Huffman tree in an intuitive way (tree or recessed table form) displayed on the terminal, but this form of characters written to the file )
- 2013-06-21 13:45:16下载
- 积分:1
-
VC-Room-monitoring-system
VC 机房监控系统,包括一些论文资料等。(VC room monitoring system, including a number of papers information.)
- 2013-11-05 09:36:45下载
- 积分:1