检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]湖南大学电气与信息工程学院,湖南长沙410082
出 处:《计算技术与自动化》2010年第1期38-42,共5页Computing Technology and Automation
基 金:湖南省科技计划资助项目(2007GK3079)
摘 要:针对基于一线总线结构的多个数字式温度传感器DS18B20的64位序列号搜索算法进行探讨,建立二叉树的数据结构模型。根据DS18B20的搜索特性,提出一种新的搜索算法,给出详细的程序流程图,并对该算法进行验证。较之传统法的搜索算法,该算法思路清晰,程序简捷,运行时间稳定,不仅大大减少程序存储空间,而且有比较可观的搜索效率,具有比较高的工程实用价值。This paper discussed the searching algorithm of the sequential numbers of the 64-bits of multiple digital tem- perature sensor named DS18B20 based on the 1-wire--bus structure, proposed a new searching algorithm depending on the searching features of DS18B20,and provided the detailed flow chart. Finally, the algorithm was verified. This algorithm, pithily programmed and running--time steadily, is better organized compared with the traditional algorithms. Not only does it save the required memory space, but also it has more practicality in engineering with its high performance.
分 类 号:TP212.9[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15