diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2019-03-30 12:55:05 +0200 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2019-03-31 13:41:26 +0200 |
commit | e6c1725b6a3419d5a28542d79bde271d0d5ef6f6 (patch) | |
tree | 9aab4c1a4b22eda261068a27e9230778a7fcd9c1 /CHANGELOG.md | |
parent | b226a3605f3b83f88581111723f527aae30fa34c (diff) | |
download | ads1x1x-async-e6c1725b6a3419d5a28542d79bde271d0d5ef6f6.tar.gz ads1x1x-async-e6c1725b6a3419d5a28542d79bde271d0d5ef6f6.tar.xz ads1x1x-async-e6c1725b6a3419d5a28542d79bde271d0d5ef6f6.zip |
Integrate mode change into `into...` methods
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e247183..5e6b7fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -... +### Changed +- [breaking-change] Mode change has been integrated into `into_continuous` and + `into_one_shot` methods. This removes the need for a `start` method in continuous + mode and the `Error::NotStarted`. Everything is now encoded into the modes. + When changing into continuous mode the measurements are started and to stop one + can simply change into one-shot mode. (This is how the hardware does it anyway). + The one-shot mode is not affected. + When changing the mode an I2C communication error can occur but the unchanged device + can now be retrieved. ## 0.1.0 - 2018-11-21 |