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

change order of auto detection #32

Merged
merged 1 commit into from
Nov 14, 2023
Merged

change order of auto detection #32

merged 1 commit into from
Nov 14, 2023

Conversation

winkj
Copy link
Member

@winkj winkj commented Nov 14, 2023

Since the SHT3x and SHT4x share addresses, there's an issue when an SHT4x is connected to the bus and we're probing for an SHT3x: The result is that the first reading of the SHT4x is off.

The other direction works (probing for a 4x when a 3x is connected), as such we're simply changing the order of detection

Fixes #27

Since the SHT3x and SHT4x share addresses, there's an issue when an SHT4x is
connected to the bus and we're probing for an SHT3x: The result is that the
first reading of the SHT4x is off.

The other direction works (probing for a 4x when a 3x is connected), as such
we're simply changing the order of detection
@winkj winkj merged commit 5e89ae8 into master Nov 14, 2023
@winkj winkj deleted the sht4x-autodetect-fix branch November 14, 2023 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

First Reading "High" with autodetect example using SHT4x
1 participant