16 #ifndef __DHT22_SENSOR_H__ // Prevents duplicate 17 #define __DHT22_SENSOR_H__ // declarations 19 #if defined(__cplusplus) // If compiling for C++ 94 #if defined(__cplusplus) 99 #endif // End prevent duplicate forward void dht22_set_timeout_ignore(int dht_pin, char ignore_timeout)
The function is used to set or clear an ignore timeout instruction for modules connected to the speci...
Definition: dht22.c:22
int dht22_getHumidity()
Retrieves the last humidity reading made by the read_dht22() function.
Definition: dht22.c:47
int dht22_getTemp(char temp_units)
Retrieves the last temperature reading made by the read_dht22() function.
Definition: dht22.c:36
char dht22_read(int dht_pin)
Triggers a reading from the temperature and humidity from the sensor module.
Definition: dht22.c:53