2022-10-15 13:50:48 -04:00
|
|
|
# Change Log DHTNEW
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
|
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
|
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.16] - 2022-10-17
|
|
|
|
- Fix #84 correct the reading of type 70 for Sonoff Si7021.
|
|
|
|
- fix keywords.txt
|
|
|
|
|
|
|
|
## [0.4.15] - 2022-10-13
|
2022-10-16 09:10:29 -04:00
|
|
|
- Fix #81, recognize DHT22 as type 70. Add minimal wakeup delay.
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.14] - 2022-10-13
|
2022-10-15 13:50:48 -04:00
|
|
|
- Fix #79, experimental support for Si7021.
|
|
|
|
- Add RP2040 pico in build-CI
|
|
|
|
- Add CHANGELOG.md
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.13] - 2022-07-05
|
2022-10-15 13:50:48 -04:00
|
|
|
- Fix #76, disable interrupts for ESP32.
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.12] - 2022-01-31
|
2022-10-15 13:50:48 -04:00
|
|
|
- Fix #72, delayMicroseconds() for wakeUp
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.11] - 2021-12-16
|
2022-10-15 13:50:48 -04:00
|
|
|
- update library.json, license, minor edits (clean up),
|
|
|
|
- add constants to unit tests
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.10] - 2021-11-18
|
2022-10-15 13:50:48 -04:00
|
|
|
- update build-CI - compilation test on M4 and ESP32 of examples
|
|
|
|
- update readme.md, badges, typos, reorganizing
|
|
|
|
- added note: MKR1010 Wifi support - setDisableIRQ(false)
|
|
|
|
- minor edits in examples
|
|
|
|
- changed TIMEOUT_C to 90us (after endurance test on MKR1010 Wifi)
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.9] - 2021-06-13
|
2022-10-15 13:50:48 -04:00
|
|
|
- add optional flag DHTLIB_VALUE_OUT_OF_RANGE
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.8] - 2021-05-27
|
2022-10-15 13:50:48 -04:00
|
|
|
- fixes to improve Arduino-lint
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.7] - 2021-04-09
|
2022-10-15 13:50:48 -04:00
|
|
|
- fix #60 negative temperatures below -25.5°C + readme.md
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.6] - 2021-04-09
|
2022-10-15 13:50:48 -04:00
|
|
|
- fix #57 negative temperatures DHT22
|
|
|
|
- Do not use 0.4.5 and 0.4.4 as these are incorrect for negative temperature.
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.5] - 2021-02-14
|
2022-10-15 13:50:48 -04:00
|
|
|
- fix -0°C encoding of DHT22 ( bit pattern 0x8000 )
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.4] - 2021-02-01
|
2022-10-15 13:50:48 -04:00
|
|
|
- fix negative temperatures DHT22 (again)
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.3] - 2021-01-13
|
2022-10-15 13:50:48 -04:00
|
|
|
- add reset(), add lastRead()
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.2] - 2020-12-15
|
2022-10-15 13:50:48 -04:00
|
|
|
- fix negative temperatures
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.1] - 2020-11-11
|
2022-10-15 13:50:48 -04:00
|
|
|
- getType() attempts to detect sensor type
|
|
|
|
- add Arduino -CI + readme
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.4.0] - 2020-11-10
|
2022-10-15 13:50:48 -04:00
|
|
|
- added DHTLIB_WAITING_FOR_READ as return value of read (minor break of interface)
|
|
|
|
|
|
|
|
----
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.3.4] - 2020-09-23
|
2022-10-15 13:50:48 -04:00
|
|
|
- Added **waitFor(state, timeout)** to follow timing from datasheet.
|
2022-10-22 04:59:47 -04:00
|
|
|
- Restored disableIRQ flag as problems occurred on AVR.
|
2022-10-15 13:50:48 -04:00
|
|
|
The default of this flag on AVR is false so interrupts are allowed.
|
|
|
|
- This need some investigation
|
|
|
|
- Fix wake up timing for DHT11 as it does not behave according datasheet.
|
|
|
|
- fix wakeupDelay bug in setType();
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.3.3] - 2020-08-18
|
2022-10-15 13:50:48 -04:00
|
|
|
- fix #29, create explicit delay between pulling line HIGH and
|
|
|
|
waiting for LOW in handshake to trigger the sensor.
|
|
|
|
- On fast ESP32 this fails because the capacity / voltage of the long wire
|
|
|
|
- cannot rise fast enough to be read back as HIGH.
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.3.2] - 2020-07-17
|
2022-10-15 13:50:48 -04:00
|
|
|
- fix #23 added get/setSuppressError(); overridable DHTLIB_INVALID_VALUE
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.3.1] - 2020-07-08
|
2022-10-15 13:50:48 -04:00
|
|
|
- added powerUp() powerDown();
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.3.0] - 2020-06-12
|
2022-10-15 13:50:48 -04:00
|
|
|
- added getReadDelay & setReadDelay to tune reading interval
|
|
|
|
- removed get/setDisableIRQ; adjusted wakeup timing; refactor
|
|
|
|
|
|
|
|
----
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.2.2] - 2020-06-08
|
2022-10-15 13:50:48 -04:00
|
|
|
- added ERROR_SENSOR_NOT_READY and differentiate timeout errors
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.2.1] - 2020-05-27
|
2022-10-15 13:50:48 -04:00
|
|
|
- Fix #11 - Adjust bit timing threshold
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.2.0] - 2020-05-02
|
2022-10-15 13:50:48 -04:00
|
|
|
- made temperature and humidity private (Kudo's to Mr-HaleYa),
|
|
|
|
|
|
|
|
----
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.1.7] - 2020-05-01
|
2022-10-15 13:50:48 -04:00
|
|
|
- prevent premature read; add waitForReading flag (Kudo's to Mr-HaleYa),
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.1.6] - 2020-04-09
|
2022-10-15 13:50:48 -04:00
|
|
|
- #pragma once, readme.md, own repo
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.1.5] - 2019-01-20
|
2022-10-15 13:50:48 -04:00
|
|
|
- fix negative temperature DHT22 - issue #120
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.1.4] - 2018-04-03
|
2022-10-15 13:50:48 -04:00
|
|
|
- add get-/setDisableIRQ(bool b)
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.1.3] - 2018-01-08
|
2022-10-15 13:50:48 -04:00
|
|
|
- removed begin() + moved detection to read() function
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.1.2] - 2018-01-08
|
2022-10-15 13:50:48 -04:00
|
|
|
- improved begin() + refactor()
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.1.1] - 2017-07-29
|
2022-10-15 13:50:48 -04:00
|
|
|
- add begin() to determine type once and for all instead of every call + refactor
|
|
|
|
|
2022-10-22 04:59:47 -04:00
|
|
|
## [0.1.0] - 2017-07-24
|
2022-10-15 13:50:48 -04:00
|
|
|
- initial version based upon DHTStable
|
|
|
|
|
|
|
|
|