   if( inPeriod == 0 ) {
     period = random(TEST_PATTERN_PERIOD / 2, TEST_PATTERN_PERIOD * 2);
     direction *= -1;
-    delay(1); // only want to trip this test once per period
+    myDelay(1); // only want to trip this test once per period
     Serial << F("Test pattern period: ") << period << F(" direction: ") << direction << endl;    
   }
 

void Flood::sendMultiple(unsigned long data, byte repeats) {
  send(data); 
  for( byte i=1; i < repeats; i++ ) {
    delay(8); // need a 8ms interval before resend
    send(data); 
//    send(K24_REPEAT);
  }
}




  if ( networkTimeout.check() ) {
    Serial << F("Network timeout.") << endl;
    Serial << F("Free RAM: ") << freeRam() << endl;
    networkTimedOut = true;
  }
  if( systemResetFlag ) {
