Permalink
Browse files

Default argument for compatibility with old sketches

  • Loading branch information...
PaintYourDragon committed Feb 23, 2012
1 parent 14d8168 commit 53e6481231f839caebcfde491217e3a020f15b5f
Showing with 1 addition and 1 deletion.
  1. +1 −1 DHT.h
View
2 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);

0 comments on commit 53e6481

Please sign in to comment.