代码搜索结果
找到约 330 项符合
Humidity 的代码
stc12c5410ad温湿度采集并将模拟量通过对半查找法查表转换.c
/************************************************
文件名称:adc0.c
文件说明:ad转换,采集温度模拟量
*************************************************/
#define ADC_Power_On_Speed_Channel_0 0xc0 //P1.0作为AD输入
#
stctemperad.c
/************************************************
文件名称:adc0.c
文件说明:ad转换,采集温度模拟量
*************************************************/
#define ADC_Power_On_Speed_Channel_0 0xc0 //P1.0作为AD输入
#
my_dht.c
#define sht_DDR_D DDRD.7
#define sht_DDR_C DDRD.6
#define sht_PIN_D PIND.7
#define sht_PIN_C PIND.6
#define sht_PORT_D PORTD.7
#define sht_PORT_C PORTD.6
#define SHT_DELAY 5
#define no
sht.c
//----------------------------------------------------------------------------------
//
// Sensirion SHTxx Humidity Sensor Library
//
// Library for using the SHT1x humidity and temperature
// se
hmeas.f
subroutine hmeas
!! ~ ~ ~ PURPOSE ~ ~ ~
!! this subroutine reads in relative humidity data from file and
!! assigns the data to the HRUs
!! ~ ~ ~ INCOMING VARIABLES ~ ~
relhumid.m
function rh=relhumid(Td,Tw,P,p_typ)
% RELHUMID: finds relative humidity from wet/dry thermometer readings.
% rh=relhumid(Td,Tw,Pa,type) computes the relative humidity from
% wt and dry-bulb t
sht.h
/****************************************************************
*文件名:sht.h
*描述:提供数字式温湿度传感器的低层驱动程序
*环境:KEIL C51
*版本:v1.0
*作者:wentsing
*日期:2006/03/07
*************************************
main_sht.c
/*****************************************************************************************************
* file name: main_sht.c
* file func: to get humidity and temperature from the sht_sensor
* fil
main.h
#include "float.h"
float temperature;
unsigned int code temper[100];
float AdValue = 0;
extern union p_temp
{
unsigned char c[2];
unsigned int X;
}upper_limit,lower_limit,difference;/*温度上限设定
main.h.bak
#include "float.h"
unsigned int temperature;
long float AdValue ;
extern union p_temp
{
unsigned char c[2];
unsigned int X;
}upper_limit,lower_limit,difference;/*温度上限设定值,下限设定值,和偏差值*/
extern