     writeLongInEEPROM(1, A_Values_Period);
     asm volatile ("  jmp 0");
     break;
-  
+
   case COMMAND_SET_ADRESS:
     i2cAdress = readLong();
     writeLongInEEPROM(5, i2cAdress);


void setup()
{  

  for (int i=0;i<sensor_SIZE;i++){
    sensorPins[i][0] = allSsensorPins[i][0];
    sensorPins[i][1] = allSsensorPins[i][1];
  }

#ifdef LOG_SERIAL
  Serial.begin(9600);
  Serial.println("booting");
#endif

  i2cAdress = readLongFromEEPROM(5);
  if (i2cAdress < 3 || i2cAdress > 77)
    i2cAdress = DEFAULT_I2C_ADRESS;
  Wire.begin(i2cAdress);

#ifdef LOG_SERIAL
Serial.print("i2c adress ");
  Serial.println(i2cAdress); 
#endif


  A_Values_Period = readLongFromEEPROM(1);
#ifdef LOG_SERIAL
  Serial.print("measure period "); 
  Serial.println(A_Values_Period); 
#endif

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

  Serial.print("setup finished"); 
}

void loop()
