 
 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);
 

    do {
      ++cnt;
      last = curr;
      curr = analogRead(_pinBattery);
    } while ((cnt < 10) && (abs(last - curr) > 2));
  }
}

void loop(void)
{
  sleepSeconds(_sleepInterval);
  stabilizeAdc();
  checkTemps();
}


#include <avr/sleep.h>
#include <RF12.h>
#include <Ports.h>

#define LMREMOTE_SERIAL 115200

// Node Idenfier for the RFM12B (2-30)
const unsigned char _rfNodeId = 2; 
