BMP280

I´m trying to use BMP280 Adafruit Library and while compiling the example (bmp280test attached) appears these messages:

In file included from C:\Users\usuario\Documents\Arduino\libraries\Adafruit_BMP280\examples\bmp280test\bmp280test.ino:20:0:

C:\Users\usuario\Documents\Arduino\libraries\Adafruit_Sensor/Adafruit_Sensor.h:146:16: warning: unused parameter 'enabled' [-Wunused-parameter]

virtual void enableAutoRange(bool enabled) {};
.
.
.

and

In file included from C:\Users\usuario\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.h:25:0,

from C:\Users\usuario\Documents\Arduino\libraries\Adafruit_BMP280\Adafruit_BMP280.cpp:19:

C:\Users\usuario\Documents\Arduino\libraries\Adafruit_Sensor/Adafruit_Sensor.h:146:16: warning: unused parameter 'enabled' [-Wunused-parameter]

virtual void enableAutoRange(bool enabled) {};

^

Any one could help me ?!

bmp280test.ino (1.64 KB)

I wouldn't worry about it. It is warning you that the parameter "enabled" is not being used in the enableAutoRange function in the Adafruit sensor library. It shouldn't affect your code.

Thanks for the answer. Unfortunately the code is not working and I thought this could be the problem.

In the code, the first test, the message "not find" appears.

if (! bme.begin ()) {
Serial.println ("Could not find a valid BMP280 sensor, check wiring!");

I'll check the connections (again) and see if it works.

Thanks anyway,!

Bolivar