     digitalWrite(PIN_TO_DIGITAL(7), HIGH); 
 #endif //USE_IR_SENSOR */ 
 
-/*#ifdef USE_P_SENSOR
-    Tp=bmp.readTemperature();
-    P=bmp.readPressure(); 
+#ifdef USE_P_SENSOR
+    Tp=bme.readTemperature();
+    P=bme.readPressure(); 
 #else
     //set P sensor fail flag
     digitalWrite(PIN_TO_DIGITAL(9), HIGH);     

BROADCASTYOURSEB http://www.sadr.fr

Several modifications over indiduinoTemplate:
.- Include  "i2cmaster.h",  "Adafruit_BMP085.h" and  "dht.h" libraries 
   to read the sensors.
.- Several additional functions to read the sensor and calculate flags,
   cloudcover and dew point.

               //result=(Tir+273)*20;
               break;   
       case 2:     
               result=P;
               break;       
       case 3:     
               //result=(Tp+273)*20;
