- Modified some thermocouple functions to use f64 instead of f32

- Added thermistor
- Added resistive divider
This commit is contained in:
Zachary Sunforge
2024-07-07 18:57:59 -07:00
parent 403df6f5f4
commit 96ae59087e
7 changed files with 87 additions and 15 deletions

View File

@ -9,7 +9,7 @@ members = [
]
[workspace.package]
version = "0.3.3"
version = "0.3.4"
edition = "2021"
repository = "https://git.bfpower.io/BFPOWER/physical"
readme = "README.md"
@ -107,7 +107,9 @@ readme.workspace = true
license.workspace = true
[features]
thermocouple_k = []
resistive-divider = []
thermocouple-k = ["libm"]
thermistor = ["libm"]
lm35 = []
pid = []
stm32 = []
@ -115,7 +117,7 @@ stm32 = []
[dependencies]
uom = { workspace = true }
num-traits = { workspace = true }
libm = { workspace = true }
libm = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
#---------------------------------------------------------------------------------------------------------------------