文件名称:18b20
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 36kb
- 下载次数:
- 0次
- 提 供 者:
- 周*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
原创温度传感器18B20的驱动程序,基于TI公司msp430单片机,程序基于方便移植设计,只要稍加修改即可使用,用英文注释,非常详细-/* temperature sensor 18B20 module for msp430*/
/*author:Zhou Qiang */
/*university:UESTC */
/*time:2009,6,5 */
/***************************************/
/*************************************************************
Introduction
This program was designed for TI s msp430 MCU,but not limitted to it,
you can easily pick up this program by just modify the flowing:
1、macros at the beginning
2、Delay_us() function
3、nothing more...
You should write you application in the flowing order:
1、Configurate 18b20 by call Config_18b20()
2、Acquire float tmp data by call Get_tmp()
3、this project still under developing,nothing more you can use...
Next to do:
1、more 18b20 on 1 bus
2、implement more ROM functions
3、reading datasheet of 18b20 carefully
4、optimize it working faster
5、auto power supply detect,the program should adjust to it
6、
/*author:Zhou Qiang */
/*university:UESTC */
/*time:2009,6,5 */
/***************************************/
/*************************************************************
Introduction
This program was designed for TI s msp430 MCU,but not limitted to it,
you can easily pick up this program by just modify the flowing:
1、macros at the beginning
2、Delay_us() function
3、nothing more...
You should write you application in the flowing order:
1、Configurate 18b20 by call Config_18b20()
2、Acquire float tmp data by call Get_tmp()
3、this project still under developing,nothing more you can use...
Next to do:
1、more 18b20 on 1 bus
2、implement more ROM functions
3、reading datasheet of 18b20 carefully
4、optimize it working faster
5、auto power supply detect,the program should adjust to it
6、
(系统自动生成,下载前可以参看下载内容)
下载文件列表
18b20
.....\18b20.c
.....\Debug
.....\.....\Exe
.....\.....\...\test.d43
.....\.....\List
.....\.....\Obj
.....\.....\...\18b20.r43
.....\.....\...\main.r43
.....\.....\...\test.pbd
.....\.....\...\test.r43
.....\main.c
.....\settings
.....\........\test.cspy.bat
.....\........\test.dbgdt
.....\........\test.dni
.....\........\test.wsdt
.....\test.c
.....\test.dep
.....\test.ewd
.....\test.ewp
.....\test.eww
18b20.c
.....\18b20.c
.....\Debug
.....\.....\Exe
.....\.....\...\test.d43
.....\.....\List
.....\.....\Obj
.....\.....\...\18b20.r43
.....\.....\...\main.r43
.....\.....\...\test.pbd
.....\.....\...\test.r43
.....\main.c
.....\settings
.....\........\test.cspy.bat
.....\........\test.dbgdt
.....\........\test.dni
.....\........\test.wsdt
.....\test.c
.....\test.dep
.....\test.ewd
.....\test.ewp
.....\test.eww
18b20.c