sparkfun / SparkFun_HTU21D_Breakout_Arduino_Library

HTU21D Breakout Arduino Library
Other
31 stars 23 forks source link

two wire utilization #8

Closed ghostdrummer closed 5 years ago

ghostdrummer commented 5 years ago

hi, i have an issue with the two wire utilizations, i have an esp32 with arduino IDE, i want know how to use the HTU21D library with the multiple I2C bus of the esp32. thanks

nseidle commented 5 years ago

Hi - Using two sensors on two different buses requires a significant change to this library. This library is very old and is not genericized like it should have been. We no longer produce a board that uses the HTU21D so we won't be updating this library. I recommend our Si7021 or better yet, the BMP280.