finitespace / BME280

Provides an Arduino library for reading and interpreting Bosch BME280 data over I2C, SPI or Sw SPI.
GNU General Public License v3.0
212 stars 105 forks source link

Change Wire hard code over to passed in wire instance in I2C class #123

Open finitespace opened 3 years ago

finitespace commented 3 years ago

Currently it's hardcoded to use Wire, which is causing people trouble when using other variations of wire. Move this to be a passed reference to a wire class, which can be given at init.