/* WARNING: Do NOT edit the input and output ports in this file in a text editor if you plan to continue editing the block that …
DS18B20替代 源代码
汇集 DS18B20替代 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
--------------------------------------------------------------------------------------------------- --***************************…
#include typedef unsigned char uchar; typedef unsigned int uint; #define DQ1 P2OUT |= BIT4 #define DQ0 P2OUT &= ~BIT4 #de…
void DelayNus(unsigned int n); unsigned char Init_18B20(void); void Write_18B20(unsigned char wdata); unsigned char Read_18B20(…
/************************* 函数名:DS18B20 功能:发送复位和初始化 读数据 写数据 **************************/ #include void dsreset(vo…
C51 COMPILER V7.50 DS18B20 09/23/2008 20:05:37 PAGE 1 C51 …
#ifndef __DS18B20_H__ #define __DS18B20_H__ #include #include sbit DS18B20_DQ = P0^7; #define DS18B20_CONVERT_TEMP 0…
/******************************************************************************* * 标题: LJD-SY-5100单片机程序 …
#ifndef __DS18B20_H__ #define __DS18B20_H__ // write your header here #endif