 
 static void sleepSeconds(unsigned char secs)
 {
+#if RECEIVE_TEST
+  unsigned long start = millis();
+  while (millis() - start < (secs * 1000U))
+    rf12_doWork();
+  ADCSRA |= bit(ADEN);
+#else
   while (secs >= 8) { sleep(WDTO_8S, true); secs -=8; }
   if (secs >= 4) { sleep(WDTO_4S, true); secs -= 4; }
   if (secs >= 2) { sleep(WDTO_2S, true); secs -= 2; }
   if (secs >= 1) { sleep(WDTO_1S, true); }
-}
-
-static void rf12_doWork(void)
-{
-  if (rf12_recvDone() && rf12_crc == 0)
-  {
-    if (_pinLedRx != 0xff) digitalWrite(_pinLedRx, HIGH);
-    // (currently have nothing to receive)
-  }
-  if (_pinLedRx != 0xff) digitalWrite(_pinLedRx, LOW);
+#endif
 }
 
 static void updateBatteryLow(void)

#include <rf12_itplus.h>

// Enabling LMREMOTE_SERIAL also disables several power saving features
//#define LMREMOTE_SERIAL 38400

// Base Idenfier for the RFM12B (0-63)
// The transmitted ID is this ID plus the pin number

#define PIN_DISABLED(pin) ((_enabledProbePins & (1 << pin)) == 0)

// Bits used in output packet
// byte0/1 reserved Node IDs
#define NODEID_MASTER      0x3F
// byte1
#define BYTE1_DUAL_PROBE   0x10
#define BYTE1_RECENT_BOOT  0x20
