 #include <dht.h>
 
 const long MODE_DURATION_IN_MILLIS = 2000; // temperature / humidity modes
-const long READ_DELAY_IN_MILLIS = 5000;
+const long READ_DELAY_IN_MILLIS = 4000;
 
 // LED display constants:
 const boolean COMMON_ANODE_LED = false; // true for LED with common anode, false for LED with common cathode.


void loop() {
  // Read data from sensor
  int errorCode = readData();
  if (errorCode < 0) {
    // Fill digits array
    setErrorCode(errorCode);

  const long now = millis();
  if (now - lastReadingMillis > READ_DELAY_IN_MILLIS) {
    lastReadingMillis = now;
    errorCode = sensorDht.read22(DHT22_PIN);
    temperature = sensorDht.temperatureInt10;
    humidity = sensorDht.humidityInt10;
  }

// Temperature values' samples and result output:
