       tt3m[i] = 0;
     }
   }
-  
+
   for (int i = 0; i < sizeof(thermalSensor) / sizeof(DeviceAddress); i++)
   {
 

  return true;
}

// main loop
void loop()
{

  sensors.requestTemperatures(); // Send the command to get temperatures
  updateStats(true);

  for (int i = 0; i < sizeof(thermalSensor) / sizeof(DeviceAddress); i++)
  {
    Serial.println(getData(thermalSensor[i]));

  }

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

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

int HighAlarmTemp[] =     {28, 28, 28, 28};       // Highest temperature when user is notificated
int DestroyAlarmTemp[] =  {60, 60, 60, 60};       // Temperature used to make forecast
int LowAlarmTemp[] =      { -28, -28, -28, -28};  // Lowest thmperature when user is notificated
// Set total connected sensors

String textForSMS;
String last_alarm_time;
