 boolean call_done;
 boolean message_done;
 boolean armed;
-boolean remore_access;
 tmElements_t tm;
 
 

SoftwareSerial SIM900 (10, 11);                   //SIM900 is connected to 10 & 11 PINs RX, TX
#define ONE_WIRE_BUS 12                           //Dallas OneWire sensors is connected to 13 PIN

String phone_number[]   = {"+79000000000"};       // Phone numbers for SMS notifications
int HighAlarmTemp[]     = {26, 26, 26, 26};       // Highest temperature when user is notificated
int DestroyAlarmTemp[]  = {40, 40, 40, 40};       // Temperature used to make forecast
int TargetTemp[]        = {24, 24, 24, 24};       // Temperature used to make forecast
int LowAlarmTemp[]      = { -28, -28, -28, -28};  // Lowest thmperature when user is notificated

    makeForecast(i, false);
    checkAlarm(i);
  }

  //printAlarms(t0); // Вывод пороговых значений на экран
  delay(cycleDelay - readSMS(true)); // задержка проверки
  //getSIM900status(false);
  //getNetworkStatus(false); Serial.println(toProgressBar(2, 30, gsm_signal)); // Network signal quality print
}
