DHT11.h 272 B

1234567891011
  1. #ifndef __DHT11_H__
  2. #define __DHT11_H__
  3. #define uchar unsigned char
  4. extern void Delay_ms(unsigned int xms); //延时函数
  5. extern void COM(void); // 温湿写入
  6. extern void DHT11(void); //温湿传感启动
  7. extern uchar shidu, wendu;
  8. #endif