 
 #ifdef USE_P_SENSOR
     Tp=bme.readTemperature();
-    P=bme.readPressure()/ 100; 
+    P=bme.readPressure()/ 100; // in hPa
 #else
     //set P sensor fail flag
     digitalWrite(PIN_TO_DIGITAL(13), HIGH);     


//Comment out if you setup don't include some sensor.
//#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 BME280 PRESSURE SENSOR. Comment if not.
//#define USE_WIND_SENSOR   //USE ANEMOMETER type SWITCH. 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 (T22int=DHT22 INT,T22ext=DHT22 EXT,Tir=MELEXIS and Tp=BME280) include a ambient temperature
//Choose  that sensor, only one, is going to use for main Ambient Temperature:
#define T_MAIN_T22ext
//#define T_MAIN_T22int
//#define T_MAIN_Tir  
//#define T_MAIN_Tp

//Cloudy sky is warmer that clear sky. Thus sky temperature meassure by IR sensor

      digitalWrite(PIN_TO_DIGITAL(13), LOW); 
    }*/

#endif //USE_DHT_SENSOR_EXTERNAL    

//#ifdef USE_LIGHT_SENSOR
