         alertTimer = addTimer(random(1000, 5000), dropConnector);
         // propagate signal though network
         for (int j=0; j<NUM_CONN; j++) if (j!=busIndex) txWrite(j, ALERT);
+        blink();
       }
       break;
     case DROPPING_CONNECTOR: // some connector in the network is dropped

  }
}

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

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

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

uint8_t rxRead(int busIndex) {
