Skip to content

Conversation

winkj
Copy link
Member

@winkj winkj commented Jun 9, 2021

Issue #10 reports failures due to the sht driver holding the bus after sending the measurement command. This commit removes this behavior and uses the default for endTransmission() (which is no argument, defaulting to true = release bus after transmission)

Wire::endTransmission() has an optional argument that
defines whether the bus is released or not. At the time
of writing the library, we set it to hold the bus. This
causes issues on other platforms.
@winkj winkj requested review from MBjoern, psachs and rnestler June 9, 2021 21:59
@winkj winkj linked an issue Jun 9, 2021 that may be closed by this pull request
@winkj winkj merged commit 0940ee6 into master Jun 10, 2021
@winkj winkj deleted the winkj-clock-stretch-fix branch June 10, 2021 14:51
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.

I2C communication without clock stretching
2 participants