 
 struct __eeprom_data {
   long magic;
-  int pwrSrc;     // True : connected to TV, False : usb powered
-  int wrkMode;    // True : thermostat + TV, False : thermostat
-  int startMode;  // if wrkMode == True, True : run TV on/off or channel change, False : do nothing indicating a sign on the lcd
-  int beepMode;   // True : beep on
-  int offMode;    // True : TV on/off, False : channel change
-  int channelGap;     // 1 ~ 5
-  int tvOnTime;       // 30 ~ 90
-  int tvOffTime;      // 5 ~ 20
+  int pwrSrc;     // 1 : connected to TV, 0 : usb powered
+  int wrkMode;    // 1 : thermostat + TV, 0 : thermostat
+  int startMode;  // if wrkMode == 1, 1 : run TV on/off or channel change, 0 : do nothing indicating a sign on the lcd
+  int beepMode;   // 1 : beep on
+  int offMode;    // 1 : TV on/off, 0 : input change
+  int channelGap; // 1 ~ 5
+  int tvOnTime;   // 30 ~ 90
+  int tvOffTime;  // 5 ~ 20
 };
 
 //

    resetFunc();
  }


  if ( wrkModeStatus == 0 ) {
    o_wrkMode = wrkModeStatus;
  }

  // temp sensor
  sensors.begin();

  for ( int i = 0; i < ( 3 - length_Temperature ) ; i++ ) {
    lcd.print(" ");
  }

  lcd.print(Temperature, 1);
}

