Skip to content
New issue

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

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

Already on GitHub? # to your account

Return which I2C Address is in use #22

Closed
SV-Zanshin opened this issue Jun 20, 2020 · 1 comment · Fixed by #24
Closed

Return which I2C Address is in use #22

SV-Zanshin opened this issue Jun 20, 2020 · 1 comment · Fixed by #24
Assignees
Labels
enhancement New feature or request

Comments

@SV-Zanshin
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Since the BME680 can have two possible I2C addresses, it would be good to know which address is being used by the library instance

Describe the solution you'd like
Add a new function, "getI2CAddress()" which will return the current BME680 I2C Address

Describe alternatives you've considered
The alternative is to expose the internal "I2CAddress" variable, but if that is done then the user can change the I2C address determined during instantiation and break the library.

Additional context
none.

@SV-Zanshin SV-Zanshin added the enhancement New feature or request label Jun 20, 2020
@SV-Zanshin SV-Zanshin self-assigned this Jun 20, 2020
SV-Zanshin pushed a commit that referenced this issue Jun 20, 2020
Added new function
@SV-Zanshin
Copy link
Collaborator Author

Created a new function "getI2CAddress()" which returns the current I2C address of the BME680.

Implemented as part of Version v1.0.8

This was referenced Jun 22, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant