Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print SHT4x temperature and delta #2

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions examples/measurement_with_compensation_linux_stc3x.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
2 changes: 2 additions & 0 deletions examples/measurement_with_compensation_sensorbridge_stc3x.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Loading