mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2023-10-23 22:20:38 +03:00
Modified readTemperature() prototype. Added prototype for new function.
This commit is contained in:
parent
cffd745009
commit
8f46f27b66
3
DHT.h
3
DHT.h
@ -29,7 +29,8 @@ class DHT {
|
|||||||
public:
|
public:
|
||||||
DHT(uint8_t pin, uint8_t type);
|
DHT(uint8_t pin, uint8_t type);
|
||||||
void begin(void);
|
void begin(void);
|
||||||
float readTemperature(void);
|
float readTemperature(bool);
|
||||||
|
float convertCtoF(float);
|
||||||
float readHumidity(void);
|
float readHumidity(void);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user