Contiki-NG
Loading...
Searching...
No Matches

Header file for the DHT22 temperature and humidity sensor. More...

#include "lib/sensors.h"

Go to the source code of this file.

Macros

DHT22 default pin and port
DHT22 available commands
DHT22 return types
DHT22 constants
#define DHT22_BUFFER   5
 Buffer to store the samples

 
#define DHT22_COUNT   8
 Minimum ticks to detect a "1" bit

 
#define DHT22_MAX_TIMMING   85
 Maximum ticks in a single operation.
 
#define DHT22_READING_DELAY   1
 1 us

 
#define DHT22_READY_TIME   40
 40 us

 
#define DHT22_START_TIME   (RTIMER_SECOND / 50)
 20 ms

 
#define DHT22_AWAKE_TIME   (RTIMER_SECOND / 4)
 250 ms
 

Detailed Description

Header file for the DHT22 temperature and humidity sensor.

Definition in file dht22.h.