Crates.io | tsic |
lib.rs | tsic |
version | 0.2.1 |
source | src |
created_at | 2020-09-28 17:02:51.13953 |
updated_at | 2020-10-12 15:30:03.157738 |
description | Platform-agnostic access to TSIC sensors via embedded-hal |
homepage | |
repository | https://github.com/daschl/tsic-rs |
max_upload_size | |
id | 293769 |
size | 34,882 |
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 acces (and therefore tested):
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).
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.