     switch (chk)
     {
       case DHTLIB_OK:
+        // inc count and sum values
+        dht_data_read_count++;
+        DHT_temp_mid += DHT.temperature;
+        humid_mid += DHT.humidity;
         break;
       case DHTLIB_ERROR_CHECKSUM: 
         Serial.println("Checksum_error"); 

unsigned long prevMillis_sensors = sensors_interval, prevMillis_lcd = lcd_interval, prevMillis_sending = sending_interval;
byte temp12 = 0; // which temperature will show, 0 - from DHT, 1 - from DS18B20
float ds18_temp_mid = 0, DHT_temp_mid = 0, humid_mid = 0; // middle value calculation
byte data_read_count = 0;

void setup()
{
  lcd.begin(16, 2);
  lcd.print("MStation v0.1");
  lcd.setCursor(0, 1);
  lcd.print("Init...");
  pinMode(LED, OUTPUT);

    // TURN ON LED
    digitalWrite(LED, HIGH);
    // READ DATA FROM DS18B20+ SENSORS
    if (getTempDS18B20()) {
      // sum values
      ds18_temp_mid += ds18_temp;
      // inc count
      ds18_data_read_count++;
    } else {
      Serial.print("ERR:DS18B20_ERROR_");
      Serial.println(ds18_err);
    }
