 //  temperature = 0;
 //  humidity = 0;
   
-  return 0;
+    return errorCode;
 }
 
 void setErrorCode(int errorCode) {

  digits[1] = R_SYMBOL;
  digits[2] = R_SYMBOL;
  digits[3] = -errorCode % 10;
}  

void setTemperature() {


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