Commit Graph

17 Commits

Author SHA1 Message Date
DrJPK
37c3d84bcd
Update DHT11.h
Signed-off-by: DrJPK <91477569+DrJPK@users.noreply.github.com>
2023-09-27 13:49:15 +10:00
DrJPK
373afdc472
Update DHT11.cpp
add optional begin() method

Signed-off-by: DrJPK <91477569+DrJPK@users.noreply.github.com>
2023-09-27 13:48:18 +10:00
DrJPK
3ebf6d2909
Update DHT11.h
Signed-off-by: DrJPK <91477569+DrJPK@users.noreply.github.com>
2023-09-27 13:33:56 +10:00
DrJPK
324998ee8a
Update DHT11.cpp
Simplified readHumidity and readTemperature methods to return value of private variables.  Added readSensor() method to store values of humidity and temperature in private variables

Signed-off-by: DrJPK <91477569+DrJPK@users.noreply.github.com>
2023-09-27 13:31:57 +10:00
DrJPK
f9ff3f4ec3
Update DHT11.h
Adds private class variables for temperature and humidity so that both humidity and temperature can be read simultaneously.
Adds a lastPollTime variable to prevent polling the sensor too frequently

Signed-off-by: DrJPK <91477569+DrJPK@users.noreply.github.com>
2023-09-27 13:15:28 +10:00
Dhruba Saha
5bba4adae1
Create SECURITY.md
Signed-off-by: Dhruba Saha <dhrubasaha08@gmail.com>
2023-09-21 17:21:29 +05:30
Dhruba Saha
e6cc6853c3
Merge pull request #8 from dhrubasaha08/main
Merge latest changes from main into dev
2023-09-20 09:21:32 +05:30
Dhruba Saha
cb4c11ffa1
Enhanced readability
Signed-off-by: Dhruba Saha <dhrubasaha08@gmail.com>
2023-09-20 09:03:31 +05:30
Dhruba Saha
f1575d12a4
Merge pull request #6 from dhrubasaha08/dev
Merge v2.0.0 Breaking Changes from Dev to Main
2023-09-20 08:49:17 +05:30
Dhruba Saha
3333e152e0 Enhanced readability 2023-09-20 08:43:07 +05:30
Dhruba Saha
780107d7cf Added ESP32, ESP8266 to the compatibility list 2023-09-20 08:34:43 +05:30
Dhruba Saha
e69a910c92 Added ESP32, ESP8266 compatibility 2023-09-20 06:45:14 +05:30
Dhruba Saha
833a45c6ab Added ESP32, ESP8266 to the compatibility list 2023-09-20 06:35:09 +05:30
Dhruba Saha
d22667ca21 Added ESP32, ESP8266 to the compatibility list 2023-09-20 06:33:23 +05:30
Dhruba Saha
542161d1f0 v2.0.0: Enhanced docs, error handling & examples 2023-09-19 11:02:49 +05:30
Dhruba Saha
323e8c192b Created DHT11 sensor library 2023-05-30 18:28:45 +05:30
Dhruba Saha
39b3dd62d1
Initial commit 2023-05-30 10:59:21 +05:30