#include sbit DQ=P3^3; bit flag_init=0; unsigned int tens,units,decile,tmp; float tmprt; DS18B20_init() { flag_init=1; …
DS18B20替代 源代码
汇集 DS18B20替代 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
1 .file "ds18b20.c" 2 __SREG__ = 0x3f 3 __SP_H__ = 0x3e 4 …
#include "system.h" //----------------DS18B20温度读取程序----------------- //OneWire.c文件,用于操作DS18B20/DS2401等单总线器件 //注意实际硬件工作的频率 …
ds18b20.o: ds18b20.c system.h Uart.h Timer.h DS18B20.h system.h: Uart.h: Timer.h: DS18B20.h:
#ifndef __DS18B20__H__ #define __DS18B20__H__ #define OneWirePORT PORTA #define OneWireDDR DDRA #define OneWirePIN PINA …
DS18B20.o: ../DS18B20.c ../system.h \ c:/winavr-20070525/bin/../avr/include/avr/io.h \ c:/winavr-20070525/bin/../avr/include…
DS18B2021-Jan-2009 07:04:3809-Mar-2009 17:55:57241021-Jan-2009 07:04:3844, 13, 0, 528AVR GCCdefault\main.elfC:\Documents and Setti…