   uint8_t i = 0;
   uint8_t pin_config;
   uint16_t pin, address, pos1, pos2, speed, fbslot1, fbslot2;
+  DEBUG("Max # of pins:");
+  DEBUGLN(MAX);
    
   for (i = 0; i < MAX; i++) {
     pin_config = eeprom_read_byte((uint8_t*)&(_CV.pin_conf[i]));

  DEBUG("Discover: ");
  DEBUG(ArtNr);
  DEBUG(ARTNR);
//    if (ArtNr == ARTNR ) {
      uint16_t MyModuleAddress = eeprom_read_byte(&_CV.address);
      ModuleAddress = MyModuleAddress;
    DEBUG(ModuleAddress);
      return LNCV_LACK_OK;
 //   }
    

}

      default:
        confpins[i] = new InputPin(i, pin, address);
        break;
    }
    DEBUG("Pin #");
    DEBUGLN(i);
    confpins[i]->print();
  }
  programmingMode = false;
}

void loop() {
	pins_busy = false;
  for (uint8_t i =0 ; i < MAX ; i++) {
	 confpins[i]->update();
  };
  
  /*** LOCONET ***/
  LnPacket = LocoNet.receive();
  if (LnPacket) {
