 
 void setup(void)
 {
-  //Serial.begin(115200);  
-
   // Turn off the units we never use (this only affects non-sleep power)
   PRR = bit(PRUSART0) | bit(PRTWI) | bit(PRTIM1) | bit(PRTIM2);
   // Disable digital input buffers on the analog in ports
   DIDR0 = bit(ADC5D) | bit(ADC4D) | bit(ADC3D) | bit(ADC2D) | bit(ADC1D) | bit(ADC0D);
   DIDR1 = bit(AIN1D) | bit(AIN0D);
+
+#ifdef LMREMOTE_SERIAL
+  PRR &= ~bit(PRUSART0);
+  Serial.begin(115200);  Serial.println("$UCID,lmremote");
+#endif
 
   rf12_initialize(_rfNodeId, _rfBand);
 

static unsigned char _sameCount;
static unsigned char _seqNo;

ISR(WDT_vect) {
  // The WDT is used solely to wake us from sleep
  wdt_disable();
}

void sleep(uint8_t wdt_period) {
  set_sleep_mode(SLEEP_MODE_PWR_DOWN);

    do {
      ++cnt;
      last = curr;
#ifdef LMREMOTE_SERIAL
      Serial.print(curr,DEC);
      Serial.print(' ');
#endif
      curr = analogRead(_pinBattery);
    } while ((cnt < 10) && (abs(last - curr) > 2));
  }
#ifdef LMREMOTE_SERIAL
  Serial.println();
#endif
}

void loop(void)
{
  //Sleepy::loseSomeTime(_sleepInterval * 1000);
  sleepSeconds(_sleepInterval);
  //stabilizeAdc();
  checkTemps();
}

