-
Stm32Dma
说明: 用于在stm32103芯片开发中的DMA模块的模板,可以根据自己的需求进行相应的修改(DMA module for STM32103 chip development)
- 2018-12-24 16:26:43下载
- 积分:1
-
hex转bin的程序
hex转bin的程序, 支持大于64K的hex, 网上下载的Hex2Bin不支持64k. 包含工程文件, 简单包装即可生成一个Hex2Bin的小程序【核心代码】 String szLine = ""; String szHex = ""; if (szHexPath == "") { MessageBox.Show("请选择需要转换的目标文件! ", "错误"); return; } StreamReader HexReader = new StreamReader(szHexPath); while (true) { szLine = HexReader.ReadLine(); //读取一行数据 if (szLine == null) //读完所有行 { break; } if (szLine.Substring(0, 1) == ":") //判断第1字符是否是: { if (szLine.Substring(1, 8) == "00000001")//数据结束 { break; } szHex = szLine.Substring(9, szLine.Length - 11); //读取有效字符 } } HexReader.Close(); //关闭目标文件 Int32 i; Int32 j = 0; Int32 Length = szHex.Length; byte[] szBin = new byte[Length]; pbConvert.Maximum = Length / 2; for (i = 0; i < Length; i = 2) //两字符合并成一个16进制字节 { szBin[j] = (byte)Int16.Parse(szHex.Substring(i, 2), NumberStyles.HexNumber); j ; pbConvert.Increment(i); } if (szBinPath == "") { szBinPath = Path.ChangeExtension(szHexPath, "bin"); tbBinPath.Text = szBinPath; } FileStream fBin = new FileStream(szBinPath, FileMode.Create); //创建文件BIN文件 BinaryWriter BinWrite = new BinaryWriter(fBin); //二进制方式打开文件 BinWrite.Write(szBin, 0, Length); //写入数据 BinWrite.Flush();//释放缓存 BinWrite.Close();//关闭文件 MessageBox.Show("文件转换完成! ", "提示"); } catch (Exception ex) { MessageBox.Show(ex.ToString()); }
- 2020-12-05下载
- 积分:1
-
@ccs
说明: 这是一个关于MATLAB的函数,能够用DEMO打开;使用时首先解压然后转换为M文件即可。很方便的。(It is a MATLAB function, can open the DEMO use first and then converted to M-extracting files. Very convenient.)
- 2006-03-16 16:28:26下载
- 积分:1
-
1-D-FDTD
FDTD时域有界差分
mATLAB程序编辑(Bounded difference time domain FDTD program editing mATLAB)
- 2011-05-12 20:06:20下载
- 积分:1
-
sale
商品销售管理系统采用Visual C++ 6.0进行编写,采用ADO技术对SQL数据库进行访问。该系统主要处理商品基本信息、客户基本信息的维护、报价单、销售合同、销售订单、发货单、各种销售计划等信息,实现商品销售的日常管理功能。(Commodity sales management system using Visual C++ 6 to prepare, using ADO technology to access the SQL . The system mainly deals with the basic information of goods, customer information maintenance, quotation, sales contract, sales orders, invoices, sales plan and other information, realize the merchandise sales management function.)
- 2016-12-12 21:13:17下载
- 积分:1
-
C#扫代理IP
C#扫描代理IP
- 2015-01-06下载
- 积分:1
-
基于51单片机的频率计
1 测量正弦波频率的频率计设计
要求:
测量三到五个数量级的频率,如1HZ-100HZ为3个数量级,1HZ-10KHz为5个数量级。测量误差小于+10%,电路系统方案同学自拟。建议采用单片机作为核心处理单元,频率输出采用数字液晶屏显示输出。
评分标准:
整体电路:(25分)包括电路系统搭建,选型,PCB布局,美观等。老师主观判断
实验报告:(15分)老师主观判断 (请写明小组同学在实验中具体做了哪部分内容)
关键数据:(60分)
频率范围:(30分)3个数量级 (及格) 4个数量级(良)
5个数量级(优)
- 2022-02-01 08:25:30下载
- 积分:1
-
Cpp2
连连看游戏的雏形,适合编程者初学阶段。望签收(lianliankan game)
- 2012-01-17 09:45:22下载
- 积分:1
-
dataliink.c
计算机网络数据链路选择性重传实验。
设计一个滑动窗口协议,在仿真环境下编程实现有噪音信道环境下两站点之间无差错双工通信。信道模型为8000bps 全双工卫星信道,信道传播时延270毫秒,信道误码率为,信道提供字节流传输服务,网络层分组长度固定为256字节。(Computer network data link selective retransmission experiment. Design of a sliding window protocol in simulation programming environment there is no error duplex communication channel between the noisy environment the two sites. Channel model is 8000bps full-duplex satellite channel, the channel propagation delay 270 ms, channel bit error rate, channel provides a byte stream transmission services, network layer packet length is fixed at 256 bytes.)
- 2013-11-26 19:19:51下载
- 积分:1
-
nand08gw3b2a驱动代码
该驱动器采用GPIO引脚接入nand08gw NAND Flash进行内存读写擦除操作。
- 2022-02-26 14:17:03下载
- 积分:1