On a Trinket I'm using a tinyBMP085 modification of the Adafruit BMP085 library which is designed to be compatible with the Adafruit library. What's the required line of code to set the BMP085's oversampling/accuracy mode (ultra low power, standard, high resolution, ultra high resolution) from within a sketch?

Also, when for example this line of code is executed:

altitude = bmp.readAltitude();

is there a delay of a length depending upon the oversampling mode setting before a value is actually assigned to "altitude" and the sketch execution proceeds to the next line of code?

William2015 wrote:On a Trinket I'm using a tinyBMP085 modification of the Adafruit BMP085 library which is designed to be compatible with the Adafruit library. What's the required line of code to set the BMP085's oversampling/accuracy mode (ultra low power, standard, high resolution, ultra high resolution) from within a sketch?

Perhaps an answer to my first question - not within the sketch, but make this change within tinyBMP085.h to chose my desired STANDARD oversampling mode?: