 
 void setupMeteoStation(){
 
-        /*#ifdef USE_P_SENSOR
-          bmp.begin();
-        #endif //USE_P_SENSOR*/
+#ifdef USE_P_SENSOR
+  bme.begin(BME280_ADDRESS);
+#endif //USE_P_SENSOR
 
 #ifdef USE_DHT_SENSOR_INTERNAL
   dhtInt.begin();

//#define USE_DHT_SENSOR_INTERNAL   //USE INTERNAL DHT HUMITITY SENSOR. Comment if not.
//#define USE_DHT_SENSOR_EXTERNAL   //USE EXTERNAL DHT HUMITITY SENSOR. Comment if not.
//#define USE_IR_SENSOR   //USE MELEXIS IR SENSOR. Comment if not.
//#define USE_P_SENSOR   //USE BMP085 PRESSURE SENSOR. Comment if not.
//#define USE_WIND_SENSOR   //USE SWITCH ANEMOMETER. Comment if not.
#define USE_LIGHT_SENSOR   //USE SOLAR PANEL AS LIGHT SENSOR. Comment if not.
//#define USE_DHT_RAIN_SENSOR   //USE TELECONTROLLI CAPACITIVE RAIN SENSOR. Comment if not.

//All sensors (ThrI=DHT22 INT,ThrE=DHT22 EXT,Tir=MELEXIS and Tp=BMP085) include a ambient temperature
//Choose  that sensor, only one, is going to use for main Ambient Temperature:
#define T_MAIN_ThrE
//#define T_MAIN_ThrI
//#define T_MAIN_Tir  
//#define T_MAIN_Tp

//Cloudy sky is warmer that clear sky. Thus sky temperature meassure by IR sensor
//is a good indicator to estimate cloud cover. However IR really meassure the

    digitalWrite(PIN_TO_DIGITAL(7), HIGH); 
#endif //USE_IR_SENSOR */ 

#ifdef USE_P_SENSOR
    Tp=bme.readTemperature();
    P=bme.readPressure(); 
#else
    //set P sensor fail flag
    digitalWrite(PIN_TO_DIGITAL(9), HIGH);     
