           mode = MODE_CONFIG_TEMP;
         break;
       case MODE_CONFIG_TEMP:
-          dpln("Set OP start");
+          dpln(F("Set OP start"));
           mode = MODE_CONFIG_OP;
         break;
       case MODE_CONFIG_OP:
-        dpln("Set TEMP start");
+        dpln(F("Set TEMP start"));
         mode = MODE_CONFIG_TEMP;
         break;
     }
 
   if (mode != MODE_NORMAL && millis() > modeEnd){
     mode = MODE_NORMAL;
-    dpln("Set end");
+    dpln(F("Set end"));
     cfg.write();
     cfg.print();
   }

float temp1 = 0;
float oldtemp1 = 0;

ConfigEE cfg;

void setup(void) {
  Serial.begin(115200);
  lcd = new LiquidCrystal(LCD_RS, LCD_E, LCD_D4, LCD_D5, LCD_D6, LCD_D7);
  temps1 = new TempSensor(TEMPS_1);
  btnDown = new Button(BTN_DOWN);
  btnUp = new Button(BTN_UP);

  lcd->begin(16, 2);
  
  lcd->setCursor(0, 0);
  lcd->print(F("Thermostat"));
  lcd->setCursor(0, 1);
  lcd->print(VERSION);
  delay(2000);
  lcd->clear();
  
  if (!cfg.read()){
    dpln(F("Failed to load configuration"));
    cfg.setDefaults();
    cfg.write();
  }
