Strange! On an Uno this sketch:
#include <TwiMaster.h>
#include <Adafruit_BMP085.h>
Adafruit_BMP085 bmp;
void setup() {
Serial.begin(115200);
if (!bmp.begin(BMP085_ULTRAHIGHRES)) {
Serial.println("bmp.begin failed");
while(1);
}
Serial.print("Altitude: ");
Serial.println(bmp.readAltitude());
}
void loop() {}
Prints:
Altitude: 82.33
The only change to the library is this in Adafruit_BMP085.h:
#include "TwiMaster.h"
//#include "Wire.h"