diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bcd347..1aedbf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added +- Serial print of SHT4x temperature and temperature + difference between STC3x and SHT4x to compensation + example. + + ## [1.0.0] - 2024-3-4 ### Added diff --git a/examples/measurement_with_compensation_linux_stc3x.py b/examples/measurement_with_compensation_linux_stc3x.py index e25ae06..b871e60 100644 --- a/examples/measurement_with_compensation_linux_stc3x.py +++ b/examples/measurement_with_compensation_linux_stc3x.py @@ -68,3 +68,5 @@ # Print CO2 concentration in Vol% and temperature in degree celsius. print(f"CO2 concentration = {co2_concentration}") print(f"STC3x Temperature = {stc3x_temperature}") + print(f"SHT4x Temperature = {sht4x_temperature}") + print(f"Temperature Delta = {stc3x_temperature.value - sht4x_temperature.value:.2f}") diff --git a/examples/measurement_with_compensation_sensorbridge_stc3x.py b/examples/measurement_with_compensation_sensorbridge_stc3x.py index e2b7d35..bddc293 100644 --- a/examples/measurement_with_compensation_sensorbridge_stc3x.py +++ b/examples/measurement_with_compensation_sensorbridge_stc3x.py @@ -72,3 +72,5 @@ # Print CO2 concentration in Vol% and temperature in degree celsius. print(f"CO2 concentration = {co2_concentration}") print(f"STC3x Temperature = {stc3x_temperature}") + print(f"SHT4x Temperature = {sht4x_temperature}") + print(f"Temperature Delta = {stc3x_temperature.value - sht4x_temperature.value:.2f}")