-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Improve DS1820 driver New features: * Handle all types of DS1820 tempature sensors by detecting the family of the sensor and calculating the temperature accordingly * Clean up some log prints * Set the channel value with current temperature * Set the period of the conversion interval with an optional first parameter * Start the conversion instantly and not wait for multiple of the conversion period * rework: Change DS1820 logging to be more consistent - Output logging to `LOG_FEATURE_SENSOR` and not `CFG` as it would be expected - Created a macro `DS1820_LOG` to simplify logging statements. - Use the macro in various places throughout the driver * refactor: Remove unused crc code and improve DS1820 logging Co-authored-by: MaxineMuster <146550015+MaxineMuster@users.noreply.github.com> --------- Co-authored-by: MaxineMuster <146550015+MaxineMuster@users.noreply.github.com>
- Loading branch information
1 parent
968ebc1
commit ad816b7
Showing
1 changed file
with
89 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters