   
     // HDR=0 means to broadcast, no ACK requested
     rf12_sendStart(0, outbuf, len);
-    rf12_sendWait(0);
-  }  /* while txCount */ 
-  
+    rf12_sendWait(1);
+  }  /* while txCount */
+
   rf12_sleep(RF12_SLEEP);
   if (_pinLedTx != 0xff) digitalWrite(_pinLedTx, LOW);
 }


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

  rf12_initialize(_rfNodeId, _rfBand);



void sleepSeconds(unsigned char secs)
{
  while (secs >= 8) { sleep(WDTO_8S); secs -=8; }
  if (secs >= 4) { sleep(WDTO_4S); secs -= 4; }
  if (secs >= 2) { sleep(WDTO_2S); secs -= 2; }
  if (secs >= 1) { sleep(WDTO_1S); }
}

