adafruit / Adafruit_BMP085_Unified

Unified sensor driver for Adafruit's BMP085 & BMP180 breakouts
93 stars 60 forks source link

Support any I2C wire #23

Open JeffyW opened 8 years ago

JeffyW commented 8 years ago

This change adds a constructor that takes in a pointer to a TwoWire, allowing the use of any of a board's I2C interfaces for connecting up to this sensor. It leaves the default constructor which falls back to the default Wire.