   Wire.onReceive(receiveEvent);
 
   pinMode(wakeUpPin, INPUT_PULLUP);
+  pinMode(wakeUpPin2, INPUT_PULLUP);
 
   pinMode(ledPowerPin, OUTPUT);
   //pinMode(espnemoIsOnPadPin, OUTPUT);


// tilt switch
const int wakeUpPin     = 2;
const int espResetPin   = 9;
const int ledPowerPin   = 10;


  MeasuredIsSent = LOW;
  mqttMsgSent = LOW;
  IsEspReseted = LOW;

  Attempt = 0;
  nofchecked = 0;
  ave.push(0);
