Contiki-NG
Loading...
Searching...
No Matches
dht11-sensor.h File Reference

DHT 11 sensor header file. More...

#include "sensors.h"

Go to the source code of this file.

Macros

#define DHT11_CONFIGURE_GPIO_PORT   (0)
 DHT11 Configuration type for GPIO Port.
 
#define DHT11_CONFIGURE_GPIO_PIN   (1)
 DHT11 Configuration type for GPIO Pin.
 
#define DHT11_VALUE_HUMIDITY_INTEGER   (0)
 DHT11 value type for humidity integer part.
 
#define DHT11_VALUE_HUMIDITY_DECIMAL   (1)
 DHT11 value type for humidity decimal part.
 
#define DHT11_VALUE_TEMPERATURE_INTEGER   (2)
 DHT11 value type for temperature integer part.
 
#define DHT11_VALUE_TEMPERATURE_DECIMAL   (3)
 DHT11 value type for temperature decimal part.
 
#define DHT11_STATUS_OKAY   (0)
 DHT11 status okay.
 
#define DHT11_STATUS_TIMEOUT   (1)
 DHT11 status timeout.
 
#define DHT11_STATUS_CHECKSUM_FAILED   (2)
 DHT11 status checksum failed.
 

Detailed Description

DHT 11 sensor header file.

Author
Yago Fontoura do Rosario <yago..nosp@m.rosa.nosp@m.rio@h.nosp@m.otma.nosp@m.il.co.nosp@m.m.br

Definition in file dht11-sensor.h.