Skip to content

Commit 8f46f27

Browse files
committed
Modified readTemperature() prototype. Added prototype for new function.
1 parent cffd745 commit 8f46f27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

DHT.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ class DHT {
2929
public:
3030
DHT(uint8_t pin, uint8_t type);
3131
void begin(void);
32-
float readTemperature(void);
32+
float readTemperature(bool);
33+
float convertCtoF(float);
3334
float readHumidity(void);
3435

3536
};

0 commit comments

Comments
 (0)