This crate provides a platform-agnostic driver for the TSIC temperature sensors using on top of the embedded-hal traits.
Add this to your dependencies:
tsic = "0.2"
While more sensors should work, right now I only have access (and therefore tested):
- TSIC 306
I also added experimental support for the following sensors, but note that I do not have access to them so it might not be working (I worked off of the official spec):
- TSIC 206
- TSIC 316
- TSIC 506
- TSIC 516
Note that this driver right now only has support for the digital protocol (ZACWire), so the analog sensors are not supported (201, 301, 203, 303).
In order to run this driver, your actual board needs to provide implementation for these two traits:
Also, if you want it to manage your VDD as well (recommended), then:
We abide by the Contributor Covenant and ask that you do as well.
For more information, please see [CODE_OF_CONDUCT.md].
Licensed under either of
-
Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
-
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.