 #define ARRAY_LENGTH(x)  (sizeof(x) / sizeof((x)[0]))
 
 //#define LOG_SERIAL
-
+#define HARDCODEDADRESS 8
 //TODO 
 //
 // store read frequency in EEPROM

  }

  Wire.begin(i2cAddress);

  Wire.onReceive(receiveEvent);
  Wire.onRequest(requestEvent);


void setup()
{  
#ifndef HARDCODEDADRESS
  int i2cAddress = 0;
  for (int i=0;i<ARRAY_LENGTH(addressPins);i++){
    pinMode(addressPins[i], INPUT_PULLUP);
