文件名称:ds18B20driver
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 吴**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
DS18B20的驱动子程序文件,内含1-wire读写协议时序,DS18B20寄存器的读写,对于嵌入式和单片机爱好者来说是个不错的学习程序,已经经过调试,很好使,我还对其进行了封装。外部函数可以直接调用。由于单总线对时序的严格要求,本程序只适合51单片机的11.0592M/12M晶振,高速单片机请将1-wire时序改写一下,IO口改成适合自己单片机的即可。-DS18B20 driver subroutine file, containing 1-wire protocol to read and write timing, DS18B20 read and write registers, embedded and microcontroller for lovers is a good learning process has been debugged, so good, I its encapsulated. External function can be called directly. As the single bus on the strict timing requirements, this program only works for 51 single-chip 11.0592M/12M crystal, high-speed single-chip 1-wire timing set about rewriting, IO ports can be changed to fit their own microcontroller.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ds18B20.h