           for (int j=0; j<3; j++) if (j!=i) bus[j]->write(c);
         }
         break;
-      case 254: // some connector in the network is dropped
+      case DROPPING_CONNECTOR: // some connector in the network is dropped
         // relax alert state and timer
         removeTimer(alertTimer);
         alertState = false;

int alertTimer;

void sendEnergy() {
  char c = 0;
  for (int i=0; i<3; i++) bus[i]->write(c);
  addTimer(100, sendEnergy);
}

void loop() {
  if (isSource) {
    if (!digitalRead(button1pin)) {
      char c = ALERT; 
      for (int i=0; i<3; i++) bus[i]->write(c);
    }
  }
