代码搜索结果
找到约 5,431 项符合
Temperature 的代码
便携式温度计.bak
/***********************************************************************
;便携式温度计
;数码管引脚连接:a=P1.3 b=P1.2 c=P1.1 d=P1.0 e=P1.6 f=P1.4 g=P1.5 h=nc共阳;
;编写人:芦庆
;时间:2008年7月27日
;主控芯片:AT89C2051-24PU
;温度
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;
fet140_i2c_15.c
//-----------------------------------------------------------------------------
// MSP-FET430P140 Demo - I2C, Slave TMP100 Emulation II
//
// Description: Uses ADC12 and I2C modules to emulate be
drink.cc.txt
// Problem Drink
// Algorithm Simulation
// Runtime O(1)
// Author Walter Guttmann
// Date 24.01.2003
#include
#include
#include
using namespace std;
ifst
tair.f
function tair(hr,jj)
!! ~ ~ ~ PURPOSE ~ ~ ~
!! this function approximates hourly air temperature from daily max and
!! min temperatures as documented by Campbell (1985)
!! ~
tgen.f
subroutine tgen(j)
!! ~ ~ ~ PURPOSE ~ ~ ~
!! this subroutine generates temperature data when the user chooses to
!! simulate or when data is missing for particular days in t
ex12-01.cpp
//EX12-01.cpp
#include //cout,cin
#include //getch()
class temperature
{ private:
float celsius,fahrenheit;
public:
void get_celsius()
{ cout
fet140_i2c_01.asm
;******************************************************************************
; MSP-FET430P140 Demo - I2C, Master Intf. to TMP100, .set P1.0 if Temp > 28C
;
; Description: I2C interface to TM
fet140_adc12_10.asm
;******************************************************************************
; MSP-FET430P140 Demo - ADC12, Sample A10 Temp and Convert to oC and oF
;
; Description: A single sample is made
fet430_adc12_10.asm
;******************************************************************************
; MSP-FET430P430 Demo - ADC12, Sample A10 Temp and Convert to oC and oF
;
; Description: A single sample is made