sparkfun / BMP180_Breakout

Breakout board for the Bosch BMP180 barometric pressure sensor
Other
69 stars 101 forks source link

Support all i2c buses on Teensy devices #14

Closed unalfaruk closed 6 years ago

unalfaruk commented 6 years ago

Thanks to this update, users can determine any i2c buses which they want to connect BMP180.

Teensy devices have more than one i2c buses, but the previous library for Teensy devices just had been supporting only one i2c bus and this bus was determined by library. For using other i2c buses, users had to edit library.

But now! Users can determine in the sketch, any i2c bus which they want to use. Just determine by using Wire0, Wire1, Wire2 etc.

There are /src and /utilyt directories, these libraries do the same task. There is a just difference about dependency; /src is depend on Wire.h library. /utilyt is depend on i2c_t3.h library.

mgrusin commented 6 years ago

Thank you for the enhancements, it's appreciated!