   Serial.begin(115200);
   Serial.flush();
 
-  Serial.println("Starting....");
+  Serial.println("\r\nStarting....");
 
   Wire.begin(I2C_SLAVE_ADDR);
   Wire.onRequest(requestEvent);

volatile bool haveData = false;
volatile bool bbutton_up_isr = false;
volatile bool bbutton_downp_isr = false;

unsigned long duration;


  Serial.println("going to sleep....");
  Serial.flush();

  bbutton_up_isr = bbutton_downp_isr = haveData = dataUpdated = false;
  device_pro.button = device_pro.esp8266 = 0;
  device_pro.hash = calc_hash(device_pro);

  attachInterrupt(digitalPinToInterrupt(BUTTON_INT), button_down_isr, FALLING);
  LowPower.powerDown(SLEEP_FOREVER, ADC_OFF, BOD_OFF);

  delay(10);
  if (bbutton_downp_isr)
  {
    Serial.print("Wake up with button, startMiils : ");
    Serial.println(startMiils);
    reset_esp();
  }
  else
  {
    Serial.print("Wake up, startMiils : ");
  }
}

