smart-green-house/project_ZigBee/Projects/zstack/Samples/SampleApp/Source/DHT11.h

17 lines
376 B
C

#ifndef __DHT11_H__
#define __DHT11_H__
#define uchar unsigned char
#define DATA_PIN P0_7
extern void Delay_ms(unsigned int xms);
extern void COM(void);
extern void DHT11(void);
extern uchar temp[2];
extern uchar temp1[5];
extern uchar humidity[2];
extern uchar humidity1[9];
extern uchar shidu_shi, shidu_ge, wendu_shi, wendu_ge;
#endif