     switch( message[i] ){
       case '.': // dit
         LEDSON();
-        delay( MORSE_UNIT_TIME );
+        doPowerDown(MORSE_UNIT_TIME, TIME_MULTIPLIER);
         LEDSOFF();
-        delay( MORSE_UNIT_TIME );
-          
+        doPowerDown(MORSE_UNIT_TIME, TIME_MULTIPLIER);
         break;
 
       case '-': // dah
         LEDSON();
-        delay( MORSE_UNIT_TIME*3 );
+        doPowerDown(MORSE_UNIT_TIME, 3*TIME_MULTIPLIER);   
         LEDSOFF();
-        delay( MORSE_UNIT_TIME );
-          
+        doPowerDown(MORSE_UNIT_TIME, TIME_MULTIPLIER);  
         break;
 
       case ' ': //gap

      endCycle = true;
      binaryCounter = 0;
      LEDSOFF();
      LowPower.powerDown(SLEEP_4S, ADC_OFF, BOD_OFF);
    }
  }
}

bool HW_DEBUG = true;
bool SYS_DEBUG = true;

#define MORSE_UNIT_TIME SLEEP_250MS

unsigned long arTime = millis();
unsigned long reset = millis();
unsigned int TIME_MULTIPLIER = 1; // x1
unsigned int WAIT = 150*TIME_MULTIPLIER;
unsigned int waitLynch = 33*TIME_MULTIPLIER;
unsigned int actualPin = 2;

int LDR = 0;
