3 unstable releases
0.2.1 | Oct 12, 2020 |
---|---|
0.2.0 | Oct 12, 2020 |
0.1.0 | Sep 28, 2020 |
#2091 in Embedded development
19KB
200 lines
tsic-rs
This crate provides a platform-agnostic driver for the TSIC temperature sensors using on top of the embedded-hal traits.
Usage
Add this to your dependencies:
tsic = "0.2"
Tested Sensors
While more sensors should work, right now I only have acces (and therefore tested):
- TSIC 306
The 206 should also work I think. 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).
Requirements
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:
Code of Conduct
We abide by the Contributor Covenant and ask that you do as well.
For more information, please see CODE_OF_CONDUCT.md.
License
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.
Dependencies
~71KB