View Source Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.0 - 2023-07-14
Changed
- SHT4X regularly polls temperature and humidity at 5 second intervals (configurable). Regular polling is required for temperature compensation algorithms.
- The
SHT4X.measure/1function is nowSHT4X.get_sample/1to reflect that it returns the latest sample rather than polling the sensor. TheSHT4X.Measurementstruct contains a timestamp and quality information to indicate how stale it is. Staleness could be due to communication issues with the sensor or just waiting for the next poll time. - The sensor's serial number is not polled on init. This means that I2C failures or retry delays won't delay or fail startup. They likely will affect the regular polling if they don't resolve themselves.
Added
SHT4X.serial_number/1to get the sensor's unique serial number- The sensor is immediately polled for a temperature. Previously the first temperature measurement was delayed until the interval timer expired (default 5 seconds).
0.1.4 - 2023-02-01
Improvements
- Catch errors from the transport initialization (thanks to @doawoo)
0.1.3 - 2022-12-10
Improvements
- Correct typespecs
- Change use Bitwise to import Bitwise per warning
- Improve docs
- Allow users to pass in a
:retriesoption for the I2C transport (thank you @doawoo) - Update dependencies
0.1.2 - 2022-02-11
Improvements
- Simplified the transport-related code
- Refactor the top-level module
Added
typed_structcircuit_i2c
Removed
i2c_servermox
0.1.1 - 2021-08-27
Added
- Derived
dew_point_cvalue
0.1.0 - 2021-08-23
Added
- Initial release