Description: This is based on the 51 SCM DS18B20 temperature sensor-driven, I have used, and no problems.
To Search:
File list (Check if you may need any files):
DS18B20温度传感器
.................\C程序
.................\.....\DS18B20
.................\.....\DS18B20.C
.................\.....\DS18B20.hex
.................\.....\DS18B20.lnp
.................\.....\DS18B20.LST
.................\.....\DS18B20.M51
.................\.....\DS18B20.OBJ
.................\.....\DS18B20.Opt
.................\.....\DS18B20.plg
.................\.....\DS18B20.Uv2
.................\.....\DS18B20_Opt.Bak
.................\.....\DS18B20_Uv2.Bak
.................\.....\SerialTemperature.EXE
.................\.....\STARTUP.A51
.................\.....\STARTUP.LST
.................\.....\STARTUP.OBJ
.................\.....\TX-1BDS18B20.LST
.................\.....\TX-1BDS18B20.OBJ
.................\.....\串口温度显示源代码
.................\.....\..................\Debug
.................\.....\..................\mscomm.cpp
.................\.....\..................\mscomm.h
.................\.....\..................\ReadMe.txt
.................\.....\..................\res
.................\.....\..................\...\SCommTest.rc2
.................\.....\..................\resource.h
.................\.....\..................\SCommTest.aps
.................\.....\..................\SCommTest.clw
.................\.....\..................\SCommTest.cpp
.................\.....\..................\SCommTest.dsp
.................\.....\..................\SCommTest.dsw
.................\.....\..................\SCommTest.h
.................\.....\..................\SCommTest.ncb
.................\.....\..................\SCommTest.opt
.................\.....\..................\SCommTest.plg
.................\.....\..................\SCommTest.rc
.................\.....\..................\SCommTestDlg.cpp
.................\.....\..................\SCommTestDlg.h
.................\.....\..................\StdAfx.cpp
.................\.....\..................\StdAfx.h
.................\.....\..................\使用说明.txt
.................\.....\温度.EXE