ow_reset(); // 复位
write_byte(0xcc); // 跳过Rom write_byte(0x4e); // 写暂存器 write_byte(0x02); // 写TH write_byte(0x01); // 写TL
write_byte(res); // 温度转换分辨率设置 ow_reset(); // 复位
write_byte(0xcc); // 跳过Rom
write_byte(0x48); // 把暂存器内容写到EPRam中 }
//==========================程序结束
======================================================