2021-01-29 06:31:58 -05:00
|
|
|
|
|
|
|
[![Arduino CI](https://github.com/RobTillaart/DHTstable/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
2021-11-06 15:30:17 -04:00
|
|
|
[![Arduino-lint](https://github.com/RobTillaart/DHTstable/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/DHTstable/actions/workflows/arduino-lint.yml)
|
|
|
|
[![JSON check](https://github.com/RobTillaart/DHTstable/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/DHTstable/actions/workflows/jsoncheck.yml)
|
2021-01-29 06:31:58 -05:00
|
|
|
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/DHTstable/blob/master/LICENSE)
|
|
|
|
[![GitHub release](https://img.shields.io/github/release/RobTillaart/DHTstable.svg?maxAge=3600)](https://github.com/RobTillaart/DHTstable/releases)
|
|
|
|
|
2021-11-06 15:30:17 -04:00
|
|
|
|
2021-05-28 07:22:49 -04:00
|
|
|
# DHTStable
|
2015-07-04 12:53:13 -04:00
|
|
|
|
2021-01-29 06:31:58 -05:00
|
|
|
Arduino Library for the DHT11 and DHT22 temperature and humidity sensor.
|
2020-11-27 05:10:47 -05:00
|
|
|
|
2021-11-06 15:30:17 -04:00
|
|
|
|
2020-11-27 05:10:47 -05:00
|
|
|
## Description
|
|
|
|
|
2021-05-28 07:22:49 -04:00
|
|
|
The DHTStable library is a "frozen" version of the DHTlib.
|
2015-07-04 12:53:13 -04:00
|
|
|
This version is stable for both ARM and AVR.
|
|
|
|
|
2020-11-27 05:10:47 -05:00
|
|
|
0.2.5 is a migration to its own repository.
|
2021-12-16 16:03:02 -05:00
|
|
|
0.2.6 fixed URL to new repository
|
2021-01-29 06:31:58 -05:00
|
|
|
0.2.7 getTemperature() and getHumidity() added
|
2021-12-16 16:03:02 -05:00
|
|
|
added Arduino-CI + unit test.
|
2021-05-28 07:22:49 -04:00
|
|
|
0.2.8 fix negative temperature
|
|
|
|
0.2.9 fix URL in JSON file
|
|
|
|
|
|
|
|
**breaking name**
|
|
|
|
|
|
|
|
1.0.0 renamed the dht.h file to DHTStable.h to fix the incompatible flag
|
|
|
|
See issue https://github.com/RobTillaart/DHTstable/issues/8
|
|
|
|
Also made temperature and humidity private
|
|
|
|
|
2020-11-27 05:10:47 -05:00
|
|
|
|
|
|
|
The latest developments for the DHT sensors are done in https://github.com/RobTillaart/DHTNEW
|
|
|
|
which is also tested on an ESP32.
|
2021-05-28 07:22:49 -04:00
|
|
|
There are some interface differences, these are relative small but can be time critical.
|
2020-11-27 05:10:47 -05:00
|
|
|
|
2021-11-06 15:30:17 -04:00
|
|
|
It is advised to upgrade to the DHTNEW library if one needs the new functionality.
|
2020-11-27 05:10:47 -05:00
|
|
|
|
|
|
|
|
2021-11-06 15:30:17 -04:00
|
|
|
## Operational
|
2021-01-29 06:31:58 -05:00
|
|
|
|
2021-11-06 15:30:17 -04:00
|
|
|
See examples.
|
2021-05-28 07:22:49 -04:00
|
|
|
|
2015-10-12 14:58:41 -04:00
|
|
|
|
2021-11-06 15:30:17 -04:00
|
|
|
## Future
|
2015-10-12 14:58:41 -04:00
|
|
|
|
2021-12-16 16:03:02 -05:00
|
|
|
- no active development
|
|
|
|
- follow bug fixes from DHTnew
|
|
|
|
- on request.
|
|
|
|
- move some const int to .cpp file
|
|
|
|
- improve unit test
|
|
|
|
- add constants test
|
|
|
|
- add release_notes
|
|
|
|
|
|
|
|
|