From 53e6481231f839caebcfde491217e3a020f15b5f Mon Sep 17 00:00:00 2001 From: Paint Your Dragon Date: Thu, 23 Feb 2012 11:43:30 -0800 Subject: [PATCH] Default argument for compatibility with old sketches --- DHT.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DHT.h b/DHT.h index 11e9101..d6c2412 100644 --- a/DHT.h +++ b/DHT.h @@ -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);