 int lampState;
 int alertState = false;
 int alertTimer;
+int alertBlinkTimer;
+int blinkLedState = false;
 boolean isSource = false;
 
 void sendEnergy() {

      switchLampOff();
      for(int i=0; i<NUM_CONN; i++) digitalWrite(coil[i], LOW);
      addTimer(1000, resetConnectors);
    }
  }

  for (int i=0; i<NUM_CONN; i++) distanceToSource[i] = 99;
  addTimer(1000, processEnergy);
}

uint8_t rxRead(int busIndex) {

  }
}

void blink() {
	// toggle one led group
	blinkLedState = !blinkLedState;
	digitalWrite(leds1pin, blinkLedState? HIGH : LOW);

  digitalWrite(debugLedPin, HIGH);
  removeTimer(alertTimer);
	alertBlinkTimer = addTimer(300, blink);
}
void stopBlink() {
  removeTimer(alertTimer);
  // restore leds
  if(lampState) switchLampOn();
  else switchLampOff();
  digitalWrite(debugLedPin, LOW);
}


void setup() {
  // set up pins
  for (int i=0; i<NUM_CONN; i++) {
