Skip to content

Conversation

@waynepiekarski
Copy link

Currently if the device is not connected or if any of the I2C operations fail, the library will receive all zeros, continue with the calculations, and then return incorrect values. Previously it was not possible to return an error code from read() either, so this has been added as well.

@waynepiekarski
Copy link
Author

@patrickelectric I was hoping you could review this code which fixes some bugs in the sensor error handling

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.

1 participant