代码搜索结果
找到约 5,431 项符合
Temperature 的代码
main.c
#include "ioCC1110.h"
#include "temp.h"
#include "stdio.h"
#define uint unsigned int
#define ConversionNum 20
//定义控制灯的端口
#define led1 P1_0
#define led2 P1_1
void Delay(uint);
void initU
fet140_i2c_15.c
//-----------------------------------------------------------------------------
// MSP-FET430P140 Demo - I2C, Slave TMP100 Emulation II
//
// Description: Uses ADC12 and I2C modules to emulate be
tempmon.h
/*
* TempMon.h - A header file containing structures for the Temperature Monitor application
*
* @author Geoff Martin
* @date 18th April 2004
* @version 1.0
*/
enum
{
TIMER_RATE = 5000, // S
co_refract.pro
;+
; NAME:
; CO_REFRACT()
;
; PURPOSE:
; Calculate correction to altitude due to atmospheric refraction.
;
; DESCRIPTION:
; CO_REFRACT can calculate both apparent altitude from obs
fet140_i2c_15.c
//-----------------------------------------------------------------------------
// MSP-FET430P140 Demo - I2C, Slave TMP100 Emulation II
//
// Description: Uses ADC12 and I2C modules to emulate be
ds18b20.asm
; Read temperature sensor DS18b20 program for pic18f4520
; (C) by Dr. Sash'2007
; at december 2007 written on MPAsm Assembler v8
; version 2.1
processor 18F4520
#include P18F4520.inc
fet140_i2c_15.c
//-----------------------------------------------------------------------------
// MSP-FET430P140 Demo - I2C, Slave TMP100 Emulation II
//
// Description: Uses ADC12 and I2C modules to emulate be
fet140_i2c_15.c
//-----------------------------------------------------------------------------
// MSP-FET430P140 Demo - I2C, Slave TMP100 Emulation II
//
// Description: Uses ADC12 and I2C modules to emulate be
colddays.c
// colddays.c -- finds percentage of days below freezing
#include
int main(void)
{
const int FREEZING = 0;
float temperature;
int cold_days = 0;
int all_days = 0;
ds1820.h
void delay(int nUs);
char DS1820_Reset(void);
char DS1820_ReadByte(void);
void DS1820_WriteByte(char val);
char Read_Temperature(void);
void Init_CLK(void);