msp430单片机的ds18b20测温度c程序
// 功能函数定义
unsigned char DS18B20_Init(void){
}//Intialization the 1-wire devices;
unsigned char DS18B20_Init_2(void){
}//Intialization the 1-wire devices;
unsigned char DS18B20_ReadBit(void){
}//Read a bit on the 1-wire bus;
unsigned char DS18B20_ReadBit_2(void){
}//Read a bit on the 1-wire bus;
void DS18B20_WriteBit(unsigned char oww_dat){
}//Write a bit to the 1-wire bus;
void DS18B20_WriteBit_2(unsigned char oww_dat){
}//Write a bit to the 1-wire bus;
unsigned char DS18B20_ReadByte(void){
}//Read a byte from the 1-wire bus;
unsigned char DS18B20_ReadByte_2(void){
}//Read a byte from the 1-wire bus;
void DS18B20_WriteByte(unsigned char oww_dat){
}//Write a byte to the 1-wire bus;
void DS18B20_WriteByte_2(unsigned char oww_dat){
}//Write a byte to the 1-wire bus;
评论