![]() |
SmartCradle v1
Baby smart cradle
|
Temperature and Humidity sensor module header. More...

Go to the source code of this file.
Data Structures | |
| struct | DHT11 |
| DHT11 Data structure CompleteSample: receives all the data from the sensor. More... | |
Typedefs | |
| typedef struct DHT11 | dht11_t |
| DHT11 Data structure CompleteSample: receives all the data from the sensor. More... | |
Functions | |
| void | initDHT11 (void) |
| Loads the sensor device driver. More... | |
| void | remDHT11 (void) |
| Removes the sensor device driver. More... | |
| int | readDHT11 (dht11_t *data) |
| Sample from the sensor. More... | |
Temperature and Humidity sensor module header.
Definition in file dht.h.
DHT11 Data structure CompleteSample: receives all the data from the sensor.
TemperatureI: Integer part of the temperature
TemperatureD: Decimal part of the temperature
HumidityI: Integer part of the humidity
HumidityD: Decimal part of the humidity
| int readDHT11 | ( | dht11_t * | data | ) |