登录
首页 » C » HMC5983数据读取(IIC)与滤波程序

HMC5983数据读取(IIC)与滤波程序

于 2022-09-06 发布 文件大小:115.87 kB
0 127
下载积分: 2 下载次数: 1

代码说明:

基于IIC通信的HMC5983数据读取与滤波程序,串口输出,用的51单片机

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • cache
    The cache manager source code implemented in Windows kernel.
    2009-05-30 14:00:05下载
    积分:1
  • 解压缩文件示例(rar、zip、7zip、Gzip、tar...等)
    本程序是基于 sharpcompress-master 设计的演示程序。开原地址:https://github.com/adamhathcock/sharpcompress。1. 程序主要展示了压缩文件的解压缩,支持的文件类型有:rar、zip、7zip、Gzip、tar......等压缩格式,展示了密码解压、分卷解压、解压进度等功能。2. 不支持“带密码的分卷压缩文件”的解压;无密码分卷压缩、单个带密码文件正常解压。3. 此程序在设计中,对组件源代码进行了修改,与原组件代码对照查看。4、sharpcompress-master组件功能繁多,比如,文件压缩为图片、压缩文件内文件添加删除、更名等等,对照现有的压缩软件,功能均具备,可在代码中查看使用。本示例只是展示了解压缩功能。此程序为识别全部压缩格式,未引用DLL,全部为cs文件,如有错误,自行对照修正。private void Uncompress(string archiveFile, string destinationPath, string password = null) { var archive = ArchiveFactory.Open(archiveFile, new ReaderOptions() { Password = password, LeaveStreamOpen = true }); volumes = archive.Entries.Count(); archive.EntryExtractionBegin = archive_EntryExtractionBegin; archive.FilePartExtractionBegin = archive_FilePartExtractionBegin; archive.CompressedBytesRead = archive_CompressedBytesRead; Task.Run(() => { long order = 0; foreach (var entry in archive.Entries) { if (!entry.IsDirectory) { entry.WriteToDirectory(destinationPath, new ExtractionOptions() { ExtractFullPath = true, Overwrite = true, }); } order ; this.CrossThreadCalls(() => { if (volumes > 1) { progress[0].Value = CreatePercentage(order, volumes); } }); } MessageBox.Show("解压缩任务完成 !"); }); } private void archive_EntryExtractionBegin(object sender, ArchiveExtractionEventArgs e) { entryTotal = e.Item.Size; info_builde1 = "提取文件: " e.Item.Key ";"; } private void archive_FilePartExtractionBegin(object sender, FilePartExtractionBeginEventArgs e) { partTotal = e.Size; info_builde2 = "分卷:" e.Name ";"; } private void archive_CompressedBytesRead(object sender, CompressedBytesReadEventArgs e) { string percentage = entryTotal.HasValue ? CreatePercentage(e.CompressedBytesRead, entryTotal.Value).ToString() : "Unknown"; info_builde = info_builde1 info_builde2 "字节:" e.CompressedBytesRead ";百分比:" percentage "%"; this.CrossThreadCalls(() => { compress_Info.Text = info_builde; progress[1].Value = int.Parse(percentage) > 100 || int.Parse(percentage) < 0 ? 100 : int.Parse(percentage); if (volumes < 2) progress[0].Value = progress[1].Value; Application.DoEvents(); }); } private int CreatePercentage(long n, long d) { return (int)(((double)n / (double)d) * 100); }
    2019-07-21下载
    积分:1
  • sms短信平开发,源码数量多,质量好。请多关注采用C#编程
    sms短信平开发,源码数量多,质量好。请多关注采用C#编程-sms short message platform, including lots of source code, and good quality. please pay more attention. develop in C#.
    2022-03-19 06:23:17下载
    积分:1
  • C # SQLServer备份源代码
    C#源代码用于SQLSERVER备份-C# source code for the backup SQLSERVER
    2022-08-18 00:12:38下载
    积分:1
  • 1
    说明:  写一个程序,用户依照流行歌曲的人气调查表,将相关数据输入到计算机文件中,计算机按照人气指数将排名前十位的歌曲信息显示并存储到文件中。(Write a program, the user in accordance with the popularity of pop music questionnaire, data will be entered into the computer files, the computer will be ranked according to popularity index of the top ten song information display and store the file.)
    2010-03-26 11:34:11下载
    积分:1
  • Optimization-of-the-design-process
    现代设计理论中涉及的一些常用的优化设计方法,如一维搜索(黄金分割、二次差值等)、无约束优化方法(梯度法、牛顿法等)、约束优化方法(复合形法、DFP、惩罚函数法等)。(Some commonly used method for optimizing the design of modern design theory involved, as one-dimensional search (golden section, the second difference, etc.), unconstrained optimization methods (gradient method, Newton method, etc.), constrained optimization methods (complex method, DFP, penalty function method, etc.).)
    2014-06-21 17:23:02下载
    积分:1
  • c# winform 读取系统分辨率,拖动设置分辨率 附完整源码
    c# 读取分辨率并 拖动设置分辨率功能                             
    2013-07-27下载
    积分:1
  • 仿射
    仿射密码仿射密码 仿射密码仿射密码 仿射密码仿射密码 仿射密码仿射密码 仿射密码仿射密码
    2022-03-25 15:06:50下载
    积分:1
  • LocateElem
    /* shiyan.c 第四组数据结构实验作业。Author:zhg 功能:本程序用于验证函数 LocateElem(L,e,compare()) 。即求出现行表中元素的位序。 程序中的线性表采用顺序存储,以更方便于该操作的实现。 */ (/* shiyan.c fourth group structure of the experimental data. Author : zhg function : This procedure is used to validate function LocateElem (L, e, compare ()). Calculated that the existing table spaces sequence elements. Procedures using the linear sequence of storage, in a more convenient to the realization of the operation.* /)
    2006-11-19 22:25:31下载
    积分:1
  • freescale K10 CAN bootload
    freescale K10系列 M0+系列 使用CAN总线的 bootload程序,500Kbps速率下载,包含握手、超时、错误处理,测试通过
    2022-03-17 18:33:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载