     else setHumidity();
   }
   
+//  delay(1000);
+  
   // Draw one current digit on display
   activateDigit(INACTIVE);
   drawDigit(digits[currentDigitIndex], decimalPoints[currentDigitIndex]);

short digits[4];
boolean decimalPoints[4];

int temperature = -23; // real temperature * 10
int humidity = 463;    // real humidity * 10
long startModeMillis;

enum Mode {

const int DIGIT_DELAY_IN_MICROSECONDS = 500;
const int MODE_DURATION_IN_MILLIS = 2000; // temperature / humidity modes

const int DIGIT_1_PIN = 3;
const int DIGIT_2_PIN = 5;
