     
   }
 
-    delay(100);
+  delay(100);
 
 }
 

const byte LCD_D7 = 2;

float tempDelta = 0.1;
float eps = 0.5;      // 
bool cooling = true;  // switch between heating and cooling

// LCD display
LiquidCrystal *lcd;

  btnUp = new Button(BTN_UP);
  relay1 = new Relay(REL_1);
  lcd->begin(16, 2);
  
  lcd->setCursor(0, 0);
  lcd->print("Thermostat");
  lcd->setCursor(0, 1);
  lcd->print(VERSION);
  delay(2000);
  
  if (!cfg.read()){
    dpln("Failed to load configuration");
