晶振:12M TEMPER_L EQU 36H TEMPER_H EQU 35H TEMPER_NUM EQU 60H FLAG1 BIT 00H DQ BIT P3.3 …
ds1820 源代码
ds1820是指一种新的“单总线器件”体积更小、适用电压更宽、更经济Dallas半导体公司的数字化温度传感器DS1820是世界上第一片支持“一线总线”接口的温度传感器。一线总线独特而且经济的特点,使用户可轻松地组建传感器网络,为测量系统的构建引入全新概念。
//Function Library to access DS1820 or DS1821 using 1-wire bus. //Author: Anurag Chugh (anurag@ucmicrosys.com) //Original Code w…
;*************** ;Ds18b20_program 2003-1-3 ;*************** TemperL EQU 8H TemperH EQU TemperL+…
### uVision2 Project, (C) Keil Software ### Do not modify ! cExt (*.c) aExt (*.a*; *.src) oExt (*.obj) lExt (*.lib) t…
/******本程序是基于DS5000/DS2251T单片机开发的,运行时需要有128K RAM *****/ #include #include #include #include #include #include /***…
### uVision2 Project, (C) Keil Software ### Do not modify ! Target (Target 1), 0x0000 // Tools: 'MCS-51' Group (Source Grou…
#ifndef _COLINLUAN_DS1820_H_ #define _COLINLUAN_DS1820_H_ extern void Delay15(uchar n); extern bit Reset(); extern void W…
/*#include #include #define uchar unsigned char #define uint unsigned int sbit DQ=P1^6; uchar ucDat; void Delay…
C51 COMPILER V8.08 DS1820 07/26/2008 17:17:12 PAGE 1 C51 …