 struct __eeprom_data {
   long magic;
   int pwrSrc;     // 1 : connected to TV, 0 : usb powered
-  int wrkMode;    // 1 : thermostat + TV, 0 : thermostat
   int startMode;  // if wrkMode == 1, 1 : auto start timer, pir, 0 : do nothing indicating a sign on the lcd
   int beepMode;   // 1 : beep on
   int channelGap; // 1 ~ 5

  }

  eeprom_read(o_pwrSrc, pwrSrc);
  eeprom_read(o_wrkMode, wrkMode);
  eeprom_read(o_startMode, startMode);
  eeprom_read(o_beepMode, beepMode);
  eeprom_read(o_channelGap, channelGap);
  // eeprom_read(o_tvOnTime, tvOnTime);

  // temp sensor
  sensors.begin();

  lcd.setCursor(0, 0);
  lcd.print("Select");
  lcd.setCursor(0, 1);
  lcd.print("start mode");
  lcd.setCursor(15, 1);
  lcd.print("*");
