Sensirion / arduino-i2c-sht4x

Arduino library for Sensirion SHT4x sensors
BSD 3-Clause "New" or "Revised" License
13 stars 5 forks source link

Add support for alternative i2c sensor address #3

Closed F-Schmidt99 closed 1 year ago

F-Schmidt99 commented 1 year ago

This pull request allows programmers to also use SHT40-B sensors with a different sensor address by adding a field to the sensor object and modifying the begin(...) method.

A default address value is passed to allow for backwards compatibility.

qfisch commented 1 year ago

Thank you for your PR,

Unfortunately this driver is a mirror from an automatically generated internal repository. An update is ready with the ability to select the I2C address, it should be rolled out in the close future. I should unify this functionality across all supported targets.

I will close this PR for now, Cheers Q