mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2023-10-23 22:20:38 +03:00
Default argument for compatibility with old sketches
This commit is contained in:
parent
14d816819c
commit
53e6481231
2
DHT.h
2
DHT.h
@ -29,7 +29,7 @@ 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(bool);
|
float readTemperature(bool S=false);
|
||||||
float convertCtoF(float);
|
float convertCtoF(float);
|
||||||
float readHumidity(void);
|
float readHumidity(void);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user