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

wait for data ready #2

Merged
merged 1 commit into from Nov 17, 2016
Merged

wait for data ready #2

merged 1 commit into from Nov 17, 2016

Conversation

kang-kang
Copy link
Contributor

SHT31 will take about 12.5ms to get data ready at High repeatability Mode, if read too early, the I2C module will report OSError: I2C bus error, so delay a while to read will fix the issue.
It may be a bug in I2C module, while SCL pulled low, I2C should wait for change.

@kfricke kfricke merged commit c0b3e0c into kfricke:master Nov 17, 2016
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.

None yet

2 participants