Default argument for compatibility with old sketches

This commit is contained in:
Paint Your Dragon 2012-02-23 11:43:30 -08:00
parent 14d816819c
commit 53e6481231

2
DHT.h
View File

@ -29,7 +29,7 @@ class DHT {
public:
DHT(uint8_t pin, uint8_t type);
void begin(void);
float readTemperature(bool);
float readTemperature(bool S=false);
float convertCtoF(float);
float readHumidity(void);